Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot stop arango sync on the outgoing side #1648

Open
4gsim opened this issue Apr 12, 2024 · 1 comment
Open

Cannot stop arango sync on the outgoing side #1648

4gsim opened this issue Apr 12, 2024 · 1 comment
Assignees

Comments

@4gsim
Copy link

4gsim commented Apr 12, 2024

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.

@ajanikow
Copy link
Collaborator

Hello!

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

Best Regards,
Adam.

@ajanikow ajanikow self-assigned this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants