-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Server Serverless 2023-08-07
-
2
Today, the `CollectionUUIDMismatchInfo::deserialize` function does not create a db name with correct tenant id as it uses boost::none as tenant id. Similar, the `serialize` function drops off the tenant.
In this ticket, we should make the CollectionUUIDMismatchInfo object can be serialized/deserialized correctly with tenant id in the output.
- for serialization, include the tenant prefix in db name as we did for other error messages.
- for deserialization, parse the tenant id from prefix of the db string and put it into the DatabaseName object.
Also, make the jstest override which checks tenant aware responses be able to work with CollectionUUIDMismatchInfo error response.
- is depended on by
-
SERVER-77537 Make DatabaseName::db() private
- Closed