Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
2.0.7
-
None
-
ALL
Description
The reason from the source code:
1. update/insert invoke chunk splitting;
2. splitIfShould call ShardConnection::sync();
3. sync function send getlasterror command to the shard;
4. then the shard exec splitting;
5. when our api call getlasterror later, we will get wrong result
Attachments
Issue Links
- duplicates
-
SERVER-5243 mongos will route getLastError command to the config server when last insert triggered a split
-
- Closed
-