[SERVER-71369] Remove deprecated override_methods/mongos_manual_intervention_actions.js Created: 15/Nov/22  Updated: 29/Oct/23  Resolved: 16/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Minor - P4
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-11-28
Participants:

 Description   

mongos_manual_intervention_actions.js was originally introduced because it used to be the case that when shard collection would encounter inconsistent metadata for the collection it would throw ManualInterventionRequired, in this case the hooks in mongos_manual_intervention_actions.js would be trigger they would retry the command after clearing the inconsistent collection metadata.

In 5.0 we introduced a new ShardCollection implementation that handles these inconsistencies internally and will never surface a ManualInterventionRequired to the client.

Since the legacy ShardCollection implementation has been removed in (5.1) SERVER-58652. We can now safely remove also mongos_manual_intervention_actions.js



 Comments   
Comment by Githook User [ 16/Nov/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-71369 Remove deprecated override_methods/mongos_manual_intervention_actions.js
Branch: master
https://github.com/mongodb/mongo/commit/343511590adc0dd3914d375ffad1d21043f1b269

Generated at Thu Feb 08 06:18:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.