diff options
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/master.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/master.py b/xlators/features/marker/utils/syncdaemon/master.py index cd470f31581..14d732728af 100644 --- a/xlators/features/marker/utils/syncdaemon/master.py +++ b/xlators/features/marker/utils/syncdaemon/master.py @@ -2,6 +2,7 @@ import os import sys import time import stat +import random import signal import logging import errno @@ -336,6 +337,7 @@ class GMaster(object): except OSError: self.add_failjob(path, 'local-entries-fail') return + random.shuffle(dem) try: des = self.slave.server.entries(path) except OSError: |