[SERVER-51328] Do not pass entire namespace string to db parameter when calling _vectorClockPersist Created: 02/Oct/20  Updated: 29/Oct/23  Resolved: 15/Oct/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-49400 Differenciate VectorClock persist beh... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-10-19
Participants:
Linked BF Score: 38

 Description   

Here:

https://github.com/mongodb/mongo/blob/0b805a4119272e83f9ffe9bf7990397be9b0c7e9/src/mongo/db/vector_clock_mongod.cpp#L370

This will cause the NamespaceString to complain that it is invalid to have "." in database names.



 Comments   
Comment by Githook User [ 15/Oct/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-51328 with auth
Branch: master
https://github.com/mongodb/mongo/commit/9e8d7e4367e2228c8b56e6050d07c5964913ebc9

Comment by Githook User [ 09/Oct/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: Revert "SERVER-51328 Do not pass entire namespace string to db parameter when calling _vectorClockPersist"

This reverts commit acaa57c17e539477c65ad71450493c3f894a75f7.
Branch: master
https://github.com/mongodb/mongo/commit/ee3c94bb462b757cd12e77c6c23ac3e56b01c194

Comment by Githook User [ 08/Oct/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-51328 Do not pass entire namespace string to db parameter when calling _vectorClockPersist
Branch: master
https://github.com/mongodb/mongo/commit/acaa57c17e539477c65ad71450493c3f894a75f7

Generated at Thu Feb 08 05:25:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.