summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--geo-replication/syncdaemon/master.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py
index c17e6a2..0817d7f 100644
--- a/geo-replication/syncdaemon/master.py
+++ b/geo-replication/syncdaemon/master.py
@@ -1063,7 +1063,8 @@ class GMasterChangelogMixin(GMasterCommon):
self.master.server.changelog_done(pr)
changes.remove(pr)
logging.debug('processing changes %s' % repr(changes))
- self.process(changes)
+ if changes:
+ self.process(changes)
def register(self):
(workdir, logfile) = self.setup_working_dir()