[SERVER-34099] Clear config version cache on rollback if needed Created: 23/Mar/18  Updated: 29/Oct/23  Resolved: 28/Mar/18

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

Type: Task Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: rollback-functional
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-34126 config_version_rollback.js runs with ... Closed
related to SERVER-33525 Fix replication and sharding tests to... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-04-09
Participants:

 Description   

If we delete or drop the config version document/collection, we currently have op observers that will automatically clear the cache. The onRollback op observer should clear the cache if either of these events occur. To test this, we can just add an OpObserverImpl unittest.



 Comments   
Comment by Githook User [ 28/Mar/18 ]

Author:

{'email': 'judah@mongodb.com', 'name': 'Judah Schvimer', 'username': 'judahschvimer'}

Message: SERVER-34099 Clear config version cache on rollback if needed
Branch: master
https://github.com/mongodb/mongo/commit/000c38e8d9da43195fc38da90f0cbbe7811cb6a8

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