-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
ALL
-
CAR Team 2026-01-05, CAR Team 2026-01-19, CAR Team 2026-02-02, CAR Team 2026-02-16
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
When opening a DB using `DatabaseHolderImpl::openDb`, a search is made to see if an existing database exists where the name only differs in case. If so an exception will be thrown.
To find such existing DBs, the function `DatabaseHolderImpl::DBsIndex::getAnyConflictingName` is used. This function uses a primitive comparison function that compare the "tolower" value of each char. This cannot work for multi byte UTF-8 chars.
So if you have a db named "foo", you are not allowed to create a db named "Foo". But if you have a db named "æbler", you can perfectly well create one named "Æbler".
- is related to
-
SERVER-93173 CollectionRoutingInfoTargeter should not create database on read operations
-
- Backlog
-
-
SERVER-1149 don't allow dbs with different casing (WAS: Using not existing Database in shell client should not stop the database server)
-
- Closed
-
-
SERVER-2111 db case check doesn't work with replication
-
- Closed
-