Loading...
Loading...
Since SERVER-113888 creating a 2dsphere index on a timeseries collection with a non-system user fails with error: "CannotCreateIndex: Index Type 2dsphere_bucket is for internal use only". The issue seems to be that the create index command will first translate the index type from 2dsphere to 2dsphere_bucket and then later validate that indexes of type 2dsphere_bucket can only be created by a system user. So the validation sees the translated 2dsphere_bucket type rather than then 2dsphere that the user submitted. A reproducer is attached.
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.