Merge ~bjornt/maas:bug-1835316-add-event-index into maas:master
Proposed by
Björn Tillenius
Status: | Merged |
---|---|
Approved by: | Björn Tillenius |
Approved revision: | 86622db0d513f34527b61ffcd434a0bcbe83567b |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~bjornt/maas:bug-1835316-add-event-index |
Merge into: | maas:master |
Diff against target: |
174 lines (+56/-10) 5 files modified
src/maasserver/migrations/maasserver/0194_machine_listing_event_index.py (+24/-0) src/maasserver/migrations/maasserver/0195_merge_20190902_1357.py (+16/-0) src/maasserver/models/event.py (+6/-0) src/maasserver/models/tests/test_node.py (+9/-9) src/maasserver/rpc/tests/test_boot.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
MAAS Lander | Needs Fixing | ||
Alberto Donato (community) | Approve | ||
Review via email: mp+371979@code.launchpad.net |
Commit message
Add index to the event table to speed up machine listing.
The index speeds up getting the latest event for each node that is
displayed on the machine listing.
The added patch depends on 0187, which is the latest patch on 2.6, since this
patch is to be backported there.
To post a comment you must log in.
LGTM