Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sync): notify declarative:reconfigure events for full sync (#13860)
With full sync (`wipe = true` in `do_sync()`), if we dont notify other workers with `declarative:reconfigure`, the registered callbacks in other workers will not be called, like updating `kong.default_workerspace`. Note that when an empty-configured CP and DP start with incremental sync enabled, the DP will rebuild routers, plugins, and the balancer twice. This occurs because the DP currently calls do_sync() twice during a single sync operation. With incremental sync disabled, it rebuilds these components only once. https://konghq.atlassian.net/browse/KAG-5812 (cherry picked from commit 945d333)
- Loading branch information