Project

General

Profile

Bug #20003

Updated by François ARMAND over 2 years ago

We have a case where technique technque library may not be correctly reloaded if a git commit happened when rudder was is stopped.  

 In that case, we can have the "reload reload technique lib", lib, which update the current commit known by rudder, that happens happen before the callback that updates update LDAP is registered. register.  
 We miss the callback, and then the lib seems to be up to date, but it is not.  

 Workaround: make a trivial change in all technques that were modified modifier while rudder was stopped, commit, reload relaod technique library.  

 Dev info: the problem is that `TechniqueAcceptationUpdater` is registered register far away from the initialisation of the technique repository, and the git commit (provided by GitTechniqueVersionProvider) is already read and updated by that time. TechniqueRepository tells to noone "this is all the changes".

Back