From fc5822e253429fcb59108271a1b78c29cefe6cfd Mon Sep 17 00:00:00 2001 From: xumin Date: Mon, 20 Jan 2025 15:35:15 +0800 Subject: [PATCH] fix(sync): report last synced version KAG-6223 --- kong/clustering/services/sync/rpc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/clustering/services/sync/rpc.lua b/kong/clustering/services/sync/rpc.lua index b05daccd221..66e190782ba 100644 --- a/kong/clustering/services/sync/rpc.lua +++ b/kong/clustering/services/sync/rpc.lua @@ -402,7 +402,7 @@ function sync_once_impl(premature, retry_count) local current_version = get_current_version() if current_version >= latest_notified_version then ngx_log(ngx_DEBUG, "version already updated") - return + return sync_handler() -- one more call to report CP the latest version synced end -- retry if the version is not updated