alibaba / alibaba/DataX

The server is not the primary and did not execute the operation

Open
#1,510 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

[cluster-ClusterId{value='6322852d9dxxxxxxx', description='null'}-10xxxxxx:27xxxx] INFO cluster - Monitor thread successfully connected to server with description ServerDescription{address=10.xxxx:27xxx, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 4, 24]}, minWireVersion=0, maxWireVersion=5, maxDocumentSize=16777216, roundTripTimeNanos=497021}
连接信息已经获取了
也不是REPLICA_SET,为什么报错不是primary

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported cluster connection log, especially the STANDALONE server description and the “not primary” error. No source file, test, entry point, or completion criteria are identified in the issue, so the relevant DataX MongoDB connection path and the operation producing the error must first be located.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.