[2.0] Loading latest machine events can make web browser unresponsive
Bug #1598028 reported by
ptylenda
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Andres Rodriguez | ||
2.0 |
Fix Released
|
High
|
Andres Rodriguez |
Bug Description
Steps to reproduce:
1. Add a new machine to MAAS
2. Use the machine in MAAS heavily for a short period of time (<30 days)
3. A few thousand of machine events will be added
4. Go to machine events view (for example: /MAAS/#
In case of many events the browser will not be able to handle very big amounts of data. It is not possible to limit the number of events significantly in order to prevent that. The minimum setting is "last 30 days", there should be other way of limiting data, for example setting "last X days" to any number of days or "last X events" to any number of events.
Related branches
lp://staging/~andreserl/maas/lp1598028
- Jeffrey C Jones (community): Approve
- MAAS Maintainers: Pending requested
-
Diff: 120 lines (+12/-12)5 files modifiedsrc/maasserver/static/js/angular/controllers/node_events.js (+2/-2)
src/maasserver/static/js/angular/controllers/tests/test_node_events.js (+4/-4)
src/maasserver/static/js/angular/factories/events.js (+1/-1)
src/maasserver/static/js/angular/factories/tests/test_events.js (+3/-3)
src/maasserver/static/partials/node-events.html (+2/-2)
lp://staging/~andreserl/maas/lp1598028_2.0
- Andres Rodriguez (community): Approve
-
Diff: 133 lines (+14/-12)6 files modifieddocs/changelog.rst (+2/-0)
src/maasserver/static/js/angular/controllers/node_events.js (+2/-2)
src/maasserver/static/js/angular/controllers/tests/test_node_events.js (+4/-4)
src/maasserver/static/js/angular/factories/events.js (+1/-1)
src/maasserver/static/js/angular/factories/tests/test_events.js (+3/-3)
src/maasserver/static/partials/node-events.html (+2/-2)
lp://staging/~andreserl/maas/packaging_rc3
- Andres Rodriguez (community): Approve
-
Diff: 90 lines (+54/-6)2 files modifieddebian/changelog (+44/-0)
debian/maas-region-controller.postinst (+10/-6)