-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
ALL
-
Sharding 2019-12-30, Sharding 2020-01-13, Sharding 2020-01-27
db.adminCommand({ enableSharding: 'test' }); db.adminCommand({ shardCollection: 'test.user', key: { x: 1 }}); db.adminCommand({ split: 'test.user', middle: { x: 0 }}) db.adminCommand({ split: 'test.user', middle: { x: 100 }}) db.user.insert({ x: 1 }) db.adminCommand({ split: 'test.user', find: { x: 1 }})
returns:
{ "cause" : { }, "ok" : 0, "errmsg" : "split failed" }
Note: if the collection was not presplit, the split command will run fine because of special case handling on chunks with MinKey or MaxKey as boundaries.