-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
Fully Compatible
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
From the logs it is evident that 17 StaleConfig retries on conn135 (config shard, tid:2), all with vReceived: UNKNOWN, spanning 18 seconds. It happened because, balancer was actively migrating chunks concurrently.
StaleConfig logs
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:16.826+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:19.907+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.system.buckets.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.system.buckets.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:21.295+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:22.167+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.system.buckets.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.system.buckets.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:23.149+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:24.757+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:25.986+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:26.329+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.system.buckets.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.system.buckets.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:27.122+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:28.774+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:30.261+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:30.446+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.system.buckets.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.system.buckets.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:31.153+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:32.246+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:33.675+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.system.buckets.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.system.buckets.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:34.928+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"create","db":"test0_fsmdb0","commandArgs":{"create":"timeseries_agg_out","capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:34.962+01:00"},"s":"I", "c":"COMMAND", "id":21962, "svc":"S", "ctx":"conn135","msg":"Assertion while executing command","attr":{"command":"_shardsvrCreateCollection","db":"test0_fsmdb0","commandArgs":{"_shardsvrCreateCollection":"timeseries_agg_out","shardKey":{"_id":1},"capped":false,"timeseries":{"timeField":"time","metaField":"tag"},"unsplittable":true,"readConcern":{"level":"local","provenance":"implicitDefault"},"writeConcern":{"w":"majority","wtimeout":60000},"databaseVersion":{"uuid":{"$uuid":"00f4221e-141e-4985-b1e1-f33c0901f116"},"timestamp":{"$timestamp":{"t":1777108917,"i":13}},"lastMod":2},"lsid":{"id":{"$uuid":"ee94427a-e018-4f94-8ce2-ea1021ca430d"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}},"$clusterTime":{"clusterTime":{"$timestamp":{"t":1777108936,"i":135}}},"$configTime":{"$timestamp":{"t":1777108936,"i":135}},"$topologyTime":{"$timestamp":{"t":1777108882,"i":54}},"$client":{"application":{"name":"tid:2"},"driver":{"name":"MongoDB Internal Client","version":"9.0.0-alpha0-1458-ge0cece7"},"os":{"type":"Windows","name":"Microsoft Windows Server (build 20348)","architecture":"x86_64","version":"10.0 (build 20348)"},"mongos":{"host":"EC2AMAZ-MAO0Q0C:20006","client":"127.0.0.1:33470","version":"9.0.0-alpha0-1458-ge0cece7"}},"mayBypassWriteBlocking":false,"$db":"test0_fsmdb0"},"error":"StaleConfig{ ns: \"test0_fsmdb0.timeseries_agg_out\", vReceived: { e: ObjectId('00000000ffffffffffffffff'), t: Timestamp(4294967295, 4294967295), v: Timestamp(0, 0) }, shardId: \"config\" }: Exhausted maximum number of shard metadata recovery attempts :: caused by :: stale config in runCommand :: caused by :: Failed to create timeseries collection :: caused by :: sharding status of collection test0_fsmdb0.timeseries_agg_out is not currently known and needs to be recovered"}}
Balancer was actively migrating chunks concurrently
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:08.632+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:08.632+01:00-69ec87c0f2594dbb08e8d936","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:08.632Z"},"what":"moveChunk.start","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":{"$minKey":1}},"max":{"control.min.time":0},"from":"config","to":"shard-rs0"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:08.989+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"migrateThread","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:08.989+01:00-69ec87c009384fa45c4d4556","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:08.989Z"},"what":"moveChunk.to","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 8":5,"step 2 of 8":1,"step 3 of 8":5,"step 4 of 8":3,"step 5 of 8":1,"step 6 of 8":59,"step 7 of 8":0,"step 8 of 8":183,"min":{"control.min.time":{"$minKey":1}},"max":{"control.min.time":0},"to":"shard-rs0","from":"config","note":"success"}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:09.102+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:09.101+01:00-69ec87c1f2594dbb08e8d940","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:09.101Z"},"what":"moveChunk.commit","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":{"$minKey":1}},"max":{"control.min.time":0},"from":"config","to":"shard-rs0","counts":{"cloned":0,"clonedBytes":0,"catchup":0,"steady":0}}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:09.113+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:09.113+01:00-69ec87c1f2594dbb08e8d941","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:09.113Z"},"what":"moveChunk.from","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 6":0,"step 2 of 6":3,"step 3 of 6":162,"step 4 of 6":1,"step 5 of 6":19,"step 6 of 6":296,"min":{"control.min.time":{"$minKey":1}},"max":{"control.min.time":0},"to":"shard-rs0","from":"config","note":"success"}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:13.326+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:13.326+01:00-69ec87c5f2594dbb08e8d9a7","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:13.326Z"},"what":"moveChunk.start","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"from":"config","to":"shard-rs0"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:13.756+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"migrateThread","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:13.756+01:00-69ec87c509384fa45c4d4581","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:13.756Z"},"what":"moveChunk.to","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 8":5,"step 2 of 8":0,"step 3 of 8":7,"step 4 of 8":3,"step 5 of 8":1,"step 6 of 8":98,"step 7 of 8":0,"step 8 of 8":164,"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"to":"shard-rs0","from":"config","note":"success"}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:13.793+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:13.793+01:00-69ec87c5f2594dbb08e8d9b1","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:13.793Z"},"what":"moveChunk.commit","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"from":"config","to":"shard-rs0","counts":{"cloned":0,"clonedBytes":0,"catchup":0,"steady":0}}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:13.806+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:13.805+01:00-69ec87c5f2594dbb08e8d9b2","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:13.805Z"},"what":"moveChunk.from","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 6":0,"step 2 of 6":4,"step 3 of 6":259,"step 4 of 6":1,"step 5 of 6":16,"step 6 of 6":201,"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"to":"shard-rs0","from":"config","note":"success"}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:23.138+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:23.137+01:00-69ec87cff2594dbb08e8da4c","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:23.137Z"},"what":"moveChunk.start","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":1354681523},"max":{"control.min.time":2064695216},"from":"config","to":"shard-rs0"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:23.508+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"migrateThread","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:23.508+01:00-69ec87cf09384fa45c4d45b8","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:23.508Z"},"what":"moveChunk.to","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 8":4,"step 2 of 8":0,"step 3 of 8":5,"step 4 of 8":3,"step 5 of 8":1,"step 6 of 8":57,"step 7 of 8":0,"step 8 of 8":189,"min":{"control.min.time":1354681523},"max":{"control.min.time":2064695216},"to":"shard-rs0","from":"config","note":"success"}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:23.549+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:23.549+01:00-69ec87cff2594dbb08e8da56","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:23.549Z"},"what":"moveChunk.commit","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":1354681523},"max":{"control.min.time":2064695216},"from":"config","to":"shard-rs0","counts":{"cloned":0,"clonedBytes":0,"catchup":0,"steady":0}}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:23.557+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:23.557+01:00-69ec87cff2594dbb08e8da57","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:23.557Z"},"what":"moveChunk.from","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 6":0,"step 2 of 6":1,"step 3 of 6":173,"step 4 of 6":1,"step 5 of 6":16,"step 6 of 6":227,"min":{"control.min.time":1354681523},"max":{"control.min.time":2064695216},"to":"shard-rs0","from":"config","note":"success"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:29.593+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:29.593+01:00-69ec87d509384fa45c4d45ed","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:29.593Z"},"what":"moveChunk.start","ns":"config.system.sessions","details":{"min":{"_id":{"id":{"$uuid":"6d4f9391-0ef3-4ccd-a28b-d91948e4185e"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"max":{"_id":{"id":{"$uuid":"8077ab39-1832-45a4-9be3-ee1e43ddf4e1"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"from":"shard-rs0","to":"config"}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:29.997+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"migrateThread","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:29.997+01:00-69ec87d5f2594dbb08e8daea","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:29.997Z"},"what":"moveChunk.to","ns":"config.system.sessions","details":{"step 1 of 8":7,"step 2 of 8":0,"step 3 of 8":6,"step 4 of 8":19,"step 5 of 8":2,"step 6 of 8":64,"step 7 of 8":0,"step 8 of 8":218,"min":{"_id":{"id":{"$uuid":"6d4f9391-0ef3-4ccd-a28b-d91948e4185e"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"max":{"_id":{"id":{"$uuid":"8077ab39-1832-45a4-9be3-ee1e43ddf4e1"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"to":"config","from":"shard-rs0","note":"success"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:30.082+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:30.082+01:00-69ec87d609384fa45c4d45f2","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:30.082Z"},"what":"moveChunk.commit","ns":"config.system.sessions","details":{"min":{"_id":{"id":{"$uuid":"6d4f9391-0ef3-4ccd-a28b-d91948e4185e"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"max":{"_id":{"id":{"$uuid":"8077ab39-1832-45a4-9be3-ee1e43ddf4e1"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"from":"shard-rs0","to":"config","counts":{"cloned":1,"clonedBytes":99,"catchup":0,"steady":0}}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:30.094+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:30.094+01:00-69ec87d609384fa45c4d45f3","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:30.094Z"},"what":"moveChunk.from","ns":"config.system.sessions","details":{"step 1 of 6":0,"step 2 of 6":0,"step 3 of 6":175,"step 4 of 6":0,"step 5 of 6":21,"step 6 of 6":302,"min":{"_id":{"id":{"$uuid":"6d4f9391-0ef3-4ccd-a28b-d91948e4185e"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"max":{"_id":{"id":{"$uuid":"8077ab39-1832-45a4-9be3-ee1e43ddf4e1"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"to":"config","from":"shard-rs0","note":"success"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:35.745+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:35.745+01:00-69ec87db09384fa45c4d4626","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:35.745Z"},"what":"moveChunk.start","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"from":"shard-rs0","to":"config"}}}}
[j0:s1:prim] {"t":{"$date":"2026-04-25T10:22:36.105+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"migrateThread","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:36.105+01:00-69ec87dcf2594dbb08e8db78","server":"EC2AMAZ-MAO0Q0C","shard":"config","clientAddr":"","time":{"$date":"2026-04-25T09:22:36.105Z"},"what":"moveChunk.to","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 8":12,"step 2 of 8":1,"step 3 of 8":8,"step 4 of 8":5,"step 5 of 8":1,"step 6 of 8":79,"step 7 of 8":0,"step 8 of 8":172,"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"to":"config","from":"shard-rs0","note":"success"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:36.138+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:36.138+01:00-69ec87dc09384fa45c4d462a","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:36.138Z"},"what":"moveChunk.commit","ns":"test0_fsmdb0.fsmcoll0","details":{"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"from":"shard-rs0","to":"config","counts":{"cloned":0,"clonedBytes":0,"catchup":0,"steady":0}}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:36.146+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:36.146+01:00-69ec87dc09384fa45c4d462b","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:36.146Z"},"what":"moveChunk.from","ns":"test0_fsmdb0.fsmcoll0","details":{"step 1 of 6":0,"step 2 of 6":0,"step 3 of 6":177,"step 4 of 6":1,"step 5 of 6":21,"step 6 of 6":200,"min":{"control.min.time":0},"max":{"control.min.time":1354681523},"to":"config","from":"shard-rs0","note":"success"}}}}
[j0:s0:prim] {"t":{"$date":"2026-04-25T10:22:36.425+01:00"},"s":"I", "c":"SHARDING", "id":22080, "svc":"S", "ctx":"MoveChunk","msg":"About to log metadata event","attr":{"namespace":"changelog","event":{"_id":"EC2AMAZ-MAO0Q0C-2026-04-25T10:22:36.424+01:00-69ec87dc09384fa45c4d462f","server":"EC2AMAZ-MAO0Q0C","shard":"shard-rs0","clientAddr":"","time":{"$date":"2026-04-25T09:22:36.424Z"},"what":"moveChunk.start","ns":"config.system.sessions","details":{"min":{"_id":{"$minKey":1}},"max":{"_id":{"id":{"$uuid":"12e0dc68-2928-4340-a742-86a51ecc3bc6"},"uid":{"$binary":{"base64":"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","subType":"0"}}}},"from":"shard-rs0","to":"config"}}}}
Fix:
Add StaleConfig to the createIndexes state's createCollection allowlist under the same runningWithBalancer guard similar to query state.
let allowedErrorCodes = [ErrorCodes.NamespaceExists]; if (TestData.runningWithBalancer) { allowedErrorCodes.push(ErrorCodes.StaleConfig); } assert.commandWorkedOrFailedWithCode( db.createCollection(this.outputCollName, { timeseries: {timeField: timeFieldName, metaField: metaFieldName}, }), allowedErrorCodes, );