Bug 749642
Summary: | a single group definition with a short recalculation interval can result in many duplicate/redundant dynamic compat groups, with the same name and same membership | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> |
Component: | Core Server | Assignee: | Lukas Krejci <lkrejci> |
Status: | CLOSED WORKSFORME | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2 | CC: | ccrouch, genman, hrupp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-10 13:55:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 678340 |
Description
Ian Springer
2011-10-27 19:01:15 UTC
Lets just set the min recalc period to be 2mins Note, that without also doing 1), there is still potential for duplicate groups to be created in the following scenarios: 1) dynagroup recalculation takes longer than 2 mins, so a second auto-recalc gets kicked off before the first auto-recalc has completed 2) user repeatedly clicks the Recalculate button while a recalc is already in progress I have been bitten by this in RHQ 4.2. I have never intentionally set the interval too low but with a busy server with lots of database locking I have seen hundreds of groups created. Lukas, could you please have a look if this is still an issue? I could not reproduce this in 4.10.0-SNAPSHOT. Since 4.8, the minimum recalculation interval for dynagroups is 1 minute, but even when I concurrently logged on from up to 20 CLI sessions and triggered group recalculation manually (calling GroupDefinitionManager.calculateGroupMembership(int)), I could not reproduce the issue. I also tried to put the server under load by importing large inventories - even during this time, the recalculation worked OK. Thus, I am lead to believe this has been addressed some time between RHQ 4.2 and 4.10 and I'm closing this BZ. |