[SERVER-46534] notMasterUnacknowledgedWrites should ignore reads Created: 02/Mar/20  Updated: 29/Oct/23  Resolved: 03/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-45818 Increase default mirroring sampling rate Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Service Arch 2020-03-09, Service Arch 2020-03-23, Service Arch 2020-04-06
Participants:

 Description   

notMasterUnacknowledgedWrites also happens to notice NotMaster errors for reads. (See here.) It should be relatively simple to check the CommandInvocation if we have one.



 Comments   
Comment by Githook User [ 03/Apr/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-46534 Make notMasterUnacknowledgedWrites ignore reads

(cherry picked from commit 519908a1925e17fcf9e24d90d3b5e67b4d4c7086)
Branch: v4.4
https://github.com/mongodb/mongo/commit/6db809e1d0cbfac3dcaf95b50f2e4bf4c97b4e1e

Comment by Githook User [ 03/Apr/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-46534 Make notMasterUnacknowledgedWrites ignore reads
Branch: master
https://github.com/mongodb/mongo/commit/519908a1925e17fcf9e24d90d3b5e67b4d4c7086

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