[SERVER-41091] makeNoopWriteIfNeeded should check ShardingState::enabled before calling ShardingState::shardId Created: 10/May/19  Updated: 29/Oct/23  Resolved: 07/Jun/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.1.11
Fix Version/s: 4.2.0-rc5, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: James Heppenstall (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng, sharding-interns-2019, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Sharding 2019-06-17
Participants:
Linked BF Score: 10

 Comments   
Comment by Githook User [ 03/Jul/19 ]

Author:

{'name': 'Jamie Heppenstall', 'email': 'jamie.heppenstall@mongodb.com', 'username': 'JamesHeppenstall'}

Message: SERVER-41091 Check ShardingState::enabled before calling ShardingState::shardId in makeNoopWriteIfNeeded

(cherry picked from commit 06bf03568dc44fd53485fcf3a955c7faa8252fe7)
Branch: v4.2
https://github.com/mongodb/mongo/commit/037a9b1a9e841fa7c221346c6efe280807b90c0a

Comment by Githook User [ 07/Jun/19 ]

Author:

{'name': 'Jamie Heppenstall', 'email': 'jamie.heppenstall@mongodb.com', 'username': 'JamesHeppenstall'}

Message: SERVER-41091 Check ShardingState::enabled before calling ShardingState::shardId in makeNoopWriteIfNeeded
Branch: master
https://github.com/mongodb/mongo/commit/06bf03568dc44fd53485fcf3a955c7faa8252fe7

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