-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Serverless
-
Server Serverless 2023-10-02
ReplSetTest.prototype.checkReplicatedDataHashes will retrieve a set of dbNames from
Mongo.prototype.getDBNames which will create a listDatabases request to return a list of tenantId prefixed database names, with exceptions for admin, local, and config. These three special databases should not be prefixed, nor should we see double-prefixed tenantIds at all.
This can affect any tests that call ReplSetTest.getHashesUsingSession where it will enumerate each database name provided it by getDBNames. An example call stack is shown below:
ReplSetTest.prototype.getHashesUsingSession <-- {dbHash:1} ReplSetTest.prototype.getHashes checkDBHashesForReplSet ReplSetTest.prototype.checkReplicaSet ReplSetTest.prototype.checkReplicatedDataHashes jstests/hooks/run_check_repl_dbhash.js
Traces were added to checkReplicatedDataHashes in testing for SERVER-73113 to show the list of database names being returned by listDatabases. It's not yet clear if the databases actually exist, or if the response being returned by listDatabases is serialized incorrectly.
- is depended on by
-
SERVER-73113 Allow only specific global dbs to be created without a tenantId
- Closed