[SERVER-48165] Add tests to ensure temporary collection name formats don't change Created: 12/May/20  Updated: 29/Oct/23  Resolved: 10/Jul/20

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

Type: Task Priority: Major - P3
Reporter: David Golden Assignee: Eric Milkie
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-39587 Include the final collection name in ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-06-29, Execution Team 2020-07-13, Execution Team 2020-07-27
Participants:

 Description   

mongomirror depends on recognizing specific temporary collection name patterns for correct operation:

  • *.renameCollection
  • tmp.agg_out.*
  • tmp.mr.*

To ensure that future changes don't unexpectedly break mongomirror, we should confirm/add tests for these patterns, ideally with a warning comment not to change the formats without notifying the mongomirror team.



 Comments   
Comment by Eric Milkie [ 10/Jul/20 ]

Note that tmp.mr.* is no longer used as of 4.4, so there was no code to modify for it.

Comment by Githook User [ 10/Jul/20 ]

Author:

{'name': 'Eric Milkie', 'email': 'milkie@10gen.com', 'username': 'milkie'}

Message: SERVER-48165 add warning comments about changing replicated temporary collection names
Branch: master
https://github.com/mongodb/mongo/commit/8296b34e798ac4d3879f2f2c8216ef3f17ced1cc

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