From 1d71cee61d5b43dd3ef430636ac1d6414538c877 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 15 Oct 2021 16:37:02 -0400 Subject: [PATCH] Fix syncfiles not running with just APPENDONCE --- confluent_server/confluent/syncfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/syncfiles.py b/confluent_server/confluent/syncfiles.py index 3dddfe8b..46aebafd 100644 --- a/confluent_server/confluent/syncfiles.py +++ b/confluent_server/confluent/syncfiles.py @@ -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)