Actions
Bug #8453
closedChange in group may be overwritten by dynamic group update
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
If we are unlucky enough to edit a group right when the dynamic group update is running, and saving this specific group, we may have all of our change that is overwritten
In DynGroupUpdater, we:
In DynGroupUpdater, we:
- load the group
- check it's dynamic
- get its query
- compute new members
- save it if they change
Last step should ensure that:
- we don't overwrite query
- if query changed between step 3 and save, rerun the update
Result can be pretty surprising, as group config looks ok, but isn't
Actions