-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Index Maintenance, Replication
-
None
-
Major Change
-
ALL
-
Storage NYC 2018-04-23
-
15
Currently you can create a collection without an _id index (very bad with replication). We should disallow this old and outdated feature. We can still allow this feature via enableTestCommands-mode so that tests continue to work.
- has to be done after
-
SERVER-19067 Warn at creation that autoIndexId:false is deprecated
- Closed
- is depended on by
-
SERVER-4718 Replica Set re-sync fails if --notablescan is active
- Closed
-
DRIVERS-473 Deprecate autoIndexId for collection creation
- Closed
- is duplicated by
-
SERVER-22902 autoIndexId cannot be false when createCollection
- Closed
- is related to
-
SERVER-12331 Insert creates the _id field, always
- Closed
-
SERVER-14128 Creating _id index with unique:false should result in error
- Closed
-
SERVER-34629 Exclude jstests using `local` database on suites with changing primaries
- Closed
-
JAVA-2685 Deprecate autoIndexId for collection creation
- Closed
-
SERVER-12334 Update does not ensure an _id field
- Closed
-
SERVER-14132 Warn during initial sync if _id index missing on any cloned collection
- Closed
- related to
-
SERVER-12051 autoIndexId=false allowed on non capped collections
- Closed
-
PHPLIB-1159 Remove autoIndexId option for CreateCollection
- Closed
- links to