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:
parent
957679db3c
commit
1d71cee61d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user