kube-arangodb icon indicating copy to clipboard operation
kube-arangodb copied to clipboard

Cannot stop arango sync on the outgoing side

Open 4gsim opened this issue 1 year ago • 1 comments

We are trying to stop the dc2dc synchronisation (sync enabled flag on the arango deployment resource) on the outgoing side without success. We already stopped (aborted) the replication between the two clusters. The problem is in the plan_builder_sync.go file, where the cache.ArangoSync.IsSyncInProgress() is checked. This will always return true on the outgoing side because the state on the agent contains this part: .... "synchronizationState": { "outgoing": { "targets": {} }, "structureVersion": "0.2" }, ... The targets part will never be null or non existent.

4gsim avatar Apr 12 '24 14:04 4gsim

Hello!

I will check this part, as we have this covered in the tests.

Best Regards, Adam.

ajanikow avatar Apr 15 '24 08:04 ajanikow