2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-27 19:37:57 +00:00

Fix syncfiles not running with just APPENDONCE

This commit is contained in:
Jarrod Johnson 2021-10-15 16:37:02 -04:00
parent 957679db3c
commit 1d71cee61d

View File

@ -241,7 +241,7 @@ def start_syncfiles(nodename, cfg, suffixes):
if not os.path.exists(synclist):
return '200 OK' # not running
sl = SyncList(synclist, nodename, cfg)
if not (sl.appendmap or sl.mergemap or sl.replacemap):
if not (sl.appendmap or sl.mergemap or sl.replacemap or sl.appendoncemap):
return '200 OK' # the synclist has no actual entries
syncrunners[nodename] = eventlet.spawn(
sync_list_to_node, sl, nodename, suffixes)