Bcfg2 / bcfg2

Git clone of the Bcfg2 repository
http://bcfg2.org
Other
93 stars 58 forks source link

Fix caching problem in probegroups #416

Open xschlef opened 5 years ago

xschlef commented 5 years ago

There has been a long going issue, that if aggressive caching is used, the Cache is always expired if a client checks in. This is due to a bug, that clears the cache before retrieving the old information, which leads to the new groups assigned by a probe to be always new, as olddata is always [].

This should fix performance for servers that are utilizing the "aggressive" caching mode.