-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
This is a suggestion to revert the triggering of E_USER_DEPRECATED when using the autoIndexId option in a CreateCollection operation. The option can remain deprecated in our documentation.
Quoting create command docs:
Starting in MongoDB 4.0, you cannot set the option autoIndexId to false when creating collections in databases other than the local database.
Deprecated since version 3.2.
Comments in SERVER-8237 also suggest that there is still a valid use case for the option with non-replicated (i.e. local database) collections.
I raised similar concerns in DRIVERS-473, although it looks like they were never acknowledged before we moved ahead with PHPLIB-346.
- is related to
-
SERVER-8237 autoIndexId:false should be disabled
- Closed
-
PHPLIB-346 Deprecate autoIndexId for collection creation
- Closed