-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
ALL
-
v8.0
The service keeps spinning with the following error:
[js_test:test] d20041| {"t":{"$date":"2024-06-28T17:57:22.076+00:00"},"s":"I", "c":"SHARDING", "id":8126400, "svc":"S", "ctx":"MultiUpdateCoordinatorService-0","msg":"Service encountered an error","attr":{"service":"MultiUpdateCoordinatorService","errorKind":"transient","operation":"MultiUpdateCoordinator::stopBlockingMigration","status":"NamespaceNotFound: database test not found","metadata":{"_id":{"$uuid":"eed0dc5d-6eef-443a-abd2-905708dde1f2"},"updateCommand":{"update":"test.coll","updates":[{"q":{"x":1},"u":{"$set":{"y":2}},"multi":true}]},"ns":"test.coll"}}}
This can be reproduced with the following JS test:
const st = new ShardingTest({mongos: 1, config: 1, shards: 2}); const mongos = st.s0; const coll = mongos.getDB(jsTestName()).coll; const collName = coll.getFullName(); assert.commandWorked(st.rs0.getPrimary().adminCommand({ _shardsvrCoordinateMultiUpdate: collName, uuid: UUID(), command: {update: collName, updates: [{q: {x: 1}, u: {$set: {y: 2}}, multi: true}]} })); st.stop();