[SERVER-31750] Always log renameCollections in our tests Created: 27/Oct/17  Updated: 30/Oct/23  Resolved: 28/Dec/17

Status: Closed
Project: Core Server
Component/s: Replication, Storage
Affects Version/s: None
Fix Version/s: 3.6.2, 3.7.1

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-01-01
Participants:

 Description   

Since we do not consistently log UUIDs everywhere we log namespaces, it can be easy to lose the mapping from namespaces to UUIDs when a renameCollection happens. If we logged every single rename in our tests, this would aid in debugging.



 Comments   
Comment by Githook User [ 03/Jan/18 ]

Author:

{'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}

Message: SERVER-31750 log renameCollection

(cherry picked from commit e64b7e331649fd1d6beb83d981857ffd7ad6e539)
Branch: v3.6
https://github.com/mongodb/mongo/commit/ea291ffa59b51abef6bc86036416d593663cd17f

Comment by Githook User [ 28/Dec/17 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-31750 log renameCollection

(cherry picked from commit 51ec930099aa978ef50fec83f8d0d07a2368f286)
Branch: master
https://github.com/mongodb/mongo/commit/e64b7e331649fd1d6beb83d981857ffd7ad6e539

Comment by Judah Schvimer [ 01/Dec/17 ]

I agree, the mapReduce and agg ones might get verbose, I'm not sure how many temp collections we rename for those.

Comment by Spencer Brody (Inactive) [ 30/Nov/17 ]

We already log every drop, I think we could potentially log every rename even when not in tests

Generated at Thu Feb 08 04:28:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.