Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 6519/don t increase serial when adding nodes #850

Conversation

ncharles
Copy link
Member

The rational here is to prevent undue serial upgrade when adding a node in a rule.
The serial change should be only for "change" of config

The huge benefit of that is that we don't lose compliance info of the rule when accepting node
The second great benefit is that promise generation is faster: less change

This picture show the rule screen after having accepted a node
rules

@ncharles
Copy link
Member Author

to be merge after #849

@ncharles ncharles force-pushed the bug_6519/don_t_increase_serial_when_adding_nodes branch from b28bfa3 to 9201c28 Compare April 20, 2015 09:30
@fanf
Copy link
Member

fanf commented Apr 20, 2015

It's ok with me. good explanation and motivational justification

fanf added a commit that referenced this pull request Apr 20, 2015
…when_adding_nodes

Bug 6519/don t increase serial when adding nodes
@fanf fanf merged commit 4e53faa into Normation:branches/rudder/2.11 Apr 20, 2015
logger.trace("`-> No node configuration cache availabe for that node")
targetConfig.policyDrafts.map( _.ruleId ).toSet
Set[RuleId]()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, in case of clear cache, this doesn't do as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants