Hi, I need mongosync to synchronise 2 self-maneged clusters with mongosync
in a docker environment. For the developpement, the 2 clusters are on the same host.
Here is the config file :
cluster0: 'mongodb://XXXX:YYYY@host.docker.internal:30001/?&directConnection=true'
cluster1: 'mongodb://XXXX:YYYY@host.docker.internal:30005/?&directConnection=true'
verbosity: 'TRACE'
logPath: "/var/log/mongosync"
port: 27182
And this is the output (nothing more) :
2023-06-01 15:06:11 {"level":"info","serverID":"9ccd6da3","time":"2023-06-01T13:06:11.8584176Z","message":"Maximum memory limit for CEA set to 2045591552 bytes"}
When I send progress
command, i have this :
# curl localhost:27182/api/v1/progress -POST
{"progress":{"state":"IDLE","canCommit":false,"canWrite":false,"info":null,"lagTimeSeconds":null,"collectionCopy":null,"directionMapping":null,"mongosyncID":"coordinator","coordinatorID":""}}
And when i try others command I have the following output (start
for example):
# curl localhost:27182/api/v1/start -POST
405 method not allowed
It looks like mongosync
does not end the init process.
Thanks for your help,
Mallory.