|
SERVER-61260 added support for collations to clustered collections. Sharding requires an index with collation = simple on the shard key, if we want to shard on _id we'd need to create an explicit index on _id with the simple collation, but currently that's not possible:
Some of these restrictions were introduced by SERVER-26724 to protect _id index creation when using autoIndexId: false, which is no longer supported. I think it should be OK to relax some of these restrictions, at the very least for clustered collections.
|