You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sambacc: add a retry loop to ctdb.monitor_cluster_meta_changes
Add a loop that tries the `ctdb reloadnodes` command after an increasing
delay. This is an attempt to fix a condition where ctdbd is apparently
not ready to handle the `ctdb reloadnodes` command. In this case the
command would be run, but fail and an exception would be raised in the
monitor_cluster_meta_changes function would raise an exception. This
would be caught by the command-level retry loop. However, this
command-level retry loop will simply re-run monitor_cluster_meta_changes
and this function now no longer has the same initial clustermeta state
and has effectively "forgotten" that it needs to run reloadnodes. This
new retry loop adds a level of error handling inside the
monitor_cluster_meta_changes function so that we will retry with a
bounded number of attempts.
Signed-off-by: John Mulligan <[email protected]>
0 commit comments