[SERVER-65471] In config POC chunk operation commit failed Created: 11/Apr/22 Updated: 29/Oct/23 Resolved: 12/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Shuvalov (Inactive) | Assignee: | Kshitij Gupta |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam2, sharding-nyc-subteam2-catalog-poc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2022-05-02, Sharding NYC 2022-05-16 | ||||||||
| Participants: | |||||||||
| Story Points: | 4 | ||||||||
| Description |
|
Test to reproduce: jstests/sharding/basic_merge.js Error: Error formatting macro: code: java.lang.StackOverflowError
[js_test:basic_merge] uncaught exception: Error: command failed: { , max: { a: -1.0 }, shard: \"basic_merge-rs0\", lastmod: Timestamp(1, 3), history: [ { validAfter: Timestamp(1649717489, 70), shard: \"basic_merge-rs0\" }] }, o2: { _id: ObjectId('6254b0f1d311c6da72e1ba1b') }}, { op: \"u\", b: true, ns: \"config.chunks\", o: { _id: ObjectId('6254b0f1d311c6da72e1ba40'), uuid: UUID(\"137d8911-23da-4732-9e3e-0ec842182688\"), min: { a: -1.0 }, max: { a: MaxKey }, shard: \"basic_merge-rs0\", lastmod: Timestamp(1, 4), history: [ { validAfter: Timestamp(1649717489, 70), shard: \"basic_merge-rs0\" }] }, o2: { _id: ObjectId('6254b0f1d311c6da72e1ba40') }} ], preCondition: [ { ns: \"config.chunks\", q: { query: { min: { a: MinKey }, max: { a: MaxKey }, uuid: UUID(\"137d8911-23da-4732-9e3e-0ec842182688\") }, orderby: { lastmod: -1 }}, res: { uuid: UUID(\"137d8911-23da-4732-9e3e-0ec842182688\"), shard: \"basic_merge-rs0\" }} ], writeConcern: { w: 1, wtimeout: 0 }}. Result: { got: {}, whatFailed: { ns: \"config.chunks\", q: { query: { min: { a: MinKey }, max: { a: MaxKey }, uuid: UUID(\"137d8911-23da-4732-9e3e-0ec842182688\") }, orderby: { lastmod: -1 }}, res: { uuid: UUID(\"137d8911-23da-4732-9e3e-0ec842182688\"), shard: \"basic_merge-rs0\" }}, ok: 0.0, errmsg: \"preCondition failed\", code: 2, codeName: \"BadValue\", $replData: { term: 1, lastOpCommitted: { ts: Timestamp(1649717489, 85), t: 1 }, lastCommittedWall: new Date(1649717489636), lastOpVisible: { ts: Timestamp(1649717489, 87), t: 1 }, configVersion: 1, configTerm: 1, replicaSetId: ObjectId('6254b0ecd311c6da72e1b8e0'), syncSourceIndex: -1, isPrimary: true }, $gleStats: { lastOpTime: { ts: Timestamp(1649717489, 87), t: 1 }, electionId: ObjectId('7fffffff0000000000000001') }, lastCommittedOpTime: Timestamp(1649717489, 85), $clusterTime: { clusterTime: Timestamp(1649717489, 87), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $configTime: Timestamp(1649717489, 85), $topologyTime: Timestamp(1649717489, 12), operationTime: Timestamp(1649717489, 87) } :: caused by :: preCondition failed", [js_test:basic_merge] }, , , [js_test:basic_merge] } |