[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: |
|
||||
| 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: (cherry picked from commit e64b7e331649fd1d6beb83d981857ffd7ad6e539) |
| Comment by Githook User [ 28/Dec/17 ] |
|
Author: {'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}Message: (cherry picked from commit 51ec930099aa978ef50fec83f8d0d07a2368f286) |
| 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 |