# HG changeset patch # User Timo Sirainen # Date 1449844423 -7200 # Node ID 3326e9fda5c18177322230daef0685f6344cf892 # Parent e6aa0aa3d599b4dc6de9bd58fe27253344b8da7e director: Don't mark the host desynced if director is alone in ring. diff -r e6aa0aa3d599 -r 3326e9fda5c1 src/director/director.c --- a/src/director/director.c Thu Dec 10 14:40:01 2015 +0200 +++ b/src/director/director.c Fri Dec 11 16:33:43 2015 +0200 @@ -586,7 +586,10 @@ director_send_host(dir, src, orig_src, host); - host->desynced = TRUE; + /* mark the host desynced until ring is synced again. except if we're + alone in the ring that never happens. */ + if (dir->right != NULL || dir->left != NULL) + host->desynced = TRUE; director_sync(dir); }