@Fabio_Ramohitaj This has given me the response {success: true} But on destination cluster only databases & collections were created, no documents were transferred from source to destined cluster
Is there any way to track that progress?
There are some processes running on my Atlas cluster (source). But I am unable to observe any changes on my EC2 instance (destination).
Hope following logs would guide you in solving this query:
tail -f /mnt/d/path/to/MongoSync/Logs/mongosync.log
{"time":"2024-09-10T19:07:39.299674+05:30","level":"info","serverID":"[REDACTED]","mongosyncID":"coordinator","version":"1.8.0","commit":"045f7567c13e6fdea252c591fed930d22d7fd8f7","go_version":"go1.21.12","os":"linux","arch":"amd64","compiler":"gc","message":"Version info"}
{"time":"2024-09-10T19:07:39.299887+05:30","level":"info","serverID":"[REDACTED]","mongosyncID":"coordinator","cluster0":"mongodb+srv://MongoSyncUser:<REDACTED>@[REDACTED].mongodb.net/","cluster1":"mongodb://MongoSyncUser:<REDACTED>@[REDACTED].compute.amazonaws.com/","verbosity":"INFO","logPath":"[REDACTED]","port":27182,"pprofPort":0,"id":"coordinator","isMultipleReplicatorConfiguration":false,"retryDurationLimit":"10m0s","retryRandomly":false,"disableTelemetry":false,"parameters":{"numParallelPartitions":4,"numInsertersPerPartition":4,"maxNumDocsToSamplePerPartition":10,"partitionSizeInBytes":419430400,"docBufferMaxNumDocs":10000,"docBufferFlushBytes":15728640,"numDocBuffersPerInserter":2,"partitionCursorBatchSize":10000,"numEventApplierThreads":128,"ceaMaxMemoryGB":4,"crudEventBatchFlushInterval":"100ms","loadLevelProvided":false,"slowOperationWarningThreshold":"1m0s","transactionLifetimeLimit":"1m0s","mongosyncSleepBeforeInitDuration":"0s","orchestrator":"noOrchestrator","acceptRemoteAPIRequest":false,"retainAllMetadataAfterCommit":false,"skipSrcAndDstVersionsCheck":false,"fatalLogPath":"","atlasLiveMigrateID":"","syncStartDelay":"2m0s"},"migrationName":"","metadataDBName":"mongosync_reserved_for_internal_use","message":"Mongosync Options"}
{"time":"2024-09-10T19:07:39.305380+05:30","level":"info","serverID":"[REDACTED]","mongosyncID":"coordinator","message":"Telemetry will be tracked."}
{"time":"2024-09-10T19:07:39.305722+05:30","level":"warn","serverID":"[REDACTED]","mongosyncID":"coordinator","totalRAMGB":10,"message":"At least 10 GB of RAM should be available to run mongosync."}
{"time":"2024-09-10T19:07:39.395603+05:30","level":"info","serverID":"[REDACTED]","mongosyncID":"coordinator","clusterType":"dst","operationID":"9534dd50","operationDescription":"Pinging deployment at mongodb+srv://MongoSyncUser:<REDACTED>@[REDACTED].mongodb.net/ to establish initial connection.","attemptNumber":0,"totalTimeSpent":"1.834µs","retryAttemptDurationSoFarSecs":0,"retryAttemptDurationLimitSecs":600,"message":"Trying operation."}
{"time":"2024-09-10T19:07:39.894152+05:30","level":"info","serverID":"[REDACTED]","mongosyncID":"coordinator","clusterType":"dst","operationID":"0833d155","operationDescription":"Pinging deployment at mongodb://MongoSyncUser:<REDACTED>@[REDACTED].compute.amazonaws.com/ to establish initial connection.","attemptNumber":0,"totalTimeSpent":"3.426µs","retryAttemptDurationSoFarSecs":0,"retryAttemptDurationLimitSecs":600,"message":"Trying operation."}
{"time":"2024-09-10T19:07:40.543111+05:30","level":"info","serverID":"[REDACTED]","mongosyncID":"coordinator","database":"mongosync_reserved_for_internal_use","collection":"globalState","message":"Global state document does not exist in destination cluster. Skipping live upgrade."}
{"time":"2024-09-10T19:07:40.544812+05:30","level":"info","serverID":"[REDACTED]","mongosyncID":"coordinator","port":27182,"message":"Running webserver."}
{"time":"2024-09-10T19:07:40.545150+05:30","level":"warn","serverID":"[REDACTED]","mongosyncID":"coordinator","error":{"msErrorLabels":["unclassifiedError"],"message":"listen tcp 127.0.0.1:27182: bind: address already in use"},"message":"Web server failed to handle incoming requests."}
{"time":"2024-09-10T19:07:40.545583+05:30","level":"fatal","serverID":"[REDACTED]","mongosyncID":"coordinator","stack":[{"func":"Wrapf","line":"258","source":"/data/mci/[REDACTED]/src/github.com/10gen/mongosync/internal/labelederror/labelederror_constructors.go"},{"func":"Wrap","line":"238","source":"/data/mci/[REDACTED]/src/github.com/10gen/mongosync/internal/labelederror/labelederror_constructors.go"},{"func":"runMongosyncWithCtx","line":"138","source":"/data/mci/[REDACTED]/src/github.com/10gen/mongosync/internal/mongosync/app.go"},{"func":"runMongosync","line":"83","source":"/data/mci/[REDACTED]/src/github.com/10gen/mongosync/internal/mongosync/app.go"},{"func":"(*Command).Run","line":"274","source":"/data/mci/[REDACTED]/src/github.com/10gen/mongosync/vendor/github.com/urfave/cli/v2/command.go"},{"func":"(*App).RunContext","line":"332","source":"/data/mci/[REDACTED]/src/github.com/10gen/mongosync/vendor/github.com/urfave/cli/v2/app.go"},{"func":"main","line":"31","source":"/data/mci/[REDACTED]/src/github.com/10gen/mongosync/cmd/mongosync/main.go"},{"func":"main","line":"267","source":"/opt/golang/go1.21/src/runtime/proc.go"},{"func":"goexit","line":"1650","source":"/opt/golang/go1.21/src/runtime/asm_amd64.s"}],"error":{"msErrorLabels":["unclassifiedError"],"message":"web server exited with an error: listen tcp 127.0.0.1:27182: bind: address already in use"},"message":"Mongosync exited with an error."}