Bug #6729
closedAfter a partial promise generation, some nodes being a relay may have their promises stored in a non reachable location
Description
If we do a partial promise regeneration, some node may have their new promises in the folder
/path/to/relay.new/path/to/node
rather than the good old /path/to/relay/path/to/node
More presillely, we have the following case to manage (node3 was removed in the generation):
1/ Relay and all nodes updated (historical defautl behaviour)
Generation gives:
relay/ relay_promises share/{ node1, node2, node3 } relay.new/ relay_promises share/{ node1.new, node2.new }
We want ([U] means updated):
relay/ relay_promises [U] share/{ node1 [U], node2 [U] }
2/ Relay promises not updated, some children updated:
Generation gives:
relay/ relay_promises share/{ node1, node2, node3 } relay.new/ share/{ node1.new }
We want:
relay/ relay_promises share/{ node1 [U], node2 }
3/ Relay promises updated, some children updated:
Generation gives:
relay/ relay_promises share/{ node1, node2, node3 } relay.new/ relay_promises share/{ node1.new }
We want:
relay/ relay_promises [U] share/{ node1 [U], node2 }
We see that all the naive scheme of moving or copying can't be used, and that some set union and intersection of nodes modified or not modified must be done.
Updated by Nicolas CHARLES over 9 years ago
- Status changed from New to Pending technical review
- Assignee set to Vincent MEMBRÉ
- Priority changed from N/A to 1 (highest)
- Pull Request set to https://github.com/Normation/rudder/pull/883
Updated by Nicolas CHARLES over 9 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by Nicolas CHARLES over 9 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|dc42786a88b8bbdf0d9585ccea34fba234590b87.
Updated by François ARMAND over 9 years ago
Applied in changeset rudder|9507212c695f605ebcbe9e0f8b7c7d5261541450.
Updated by Vincent MEMBRÉ over 9 years ago
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
Updated by Vincent MEMBRÉ over 9 years ago
- Related to Bug #7056: A test is not compiling on branch 2.11 since #6729 was merged added