When running with viewless timeseries, the ShardCollection command can fail with the following error (reproducer attached):
uncaught exception: Error: command failed: {
"ok" : 0,
"errmsg" : "Please create an index that starts with the proposed shard key before sharding the collection. ",
"code" : 72,
"codeName" : "InvalidOptions",
}
The goal of this ticket is to investigate and fix the underlying issue.
- is depended on by
-
SERVER-106954 ShardCollection fails due to an IndexOptionsConflict
-
- Closed
-
- related to
-
SERVER-106954 ShardCollection fails due to an IndexOptionsConflict
-
- Closed
-