Details
-
Improvement
-
Status: Accepted
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
If we apply a sequence of registry operations and none of those operations actually modify the registry, we can skip writing out the new registry state variable to the replicated log. This can be an important optimization, e.g., when the master fails over and a large number of agents attempt to reregister simultaneously. Since those agents already appear in the "admitted" list of agents in the registry, we don't need to do any replicated log writes.