[SERVER-46086] OpObservers to submit ranges for deletion should not run on secondaries Created: 11/Feb/20  Updated: 29/Oct/23  Resolved: 18/Feb/20

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

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-02-24
Participants:
Linked BF Score: 25

 Description   

The affected OpObservers are:

We have this existing way to check if the node is primary from within the ShardServerOpObserver.



 Comments   
Comment by Githook User [ 18/Feb/20 ]

Author:

{'name': 'Max Hirschhorn', 'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-46086 Skip submitting ranges for deletion on secondaries.
Branch: master
https://github.com/mongodb/mongo/commit/3ad579abbc5953d5a4e23907753b8da258521a19

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