[SERVER-36845] Change session id checking in check_repl_db_hash_background.js to use bsonWoCompare Created: 24/Aug/18  Updated: 29/Oct/23  Resolved: 29/Aug/18

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

Type: Bug Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2018-09-10
Participants:
Linked BF Score: 15

 Description   

The shell does not compare the ids of the sessions correctly here and will incorrectly report that two session ids are not equal when they actually are. We should change this to check equality using bsonWoCompare.



 Comments   
Comment by Githook User [ 29/Aug/18 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-36845 Change sessionId check in check_repl_db_hash_background hook to use bsonWoCompare
Branch: master
https://github.com/mongodb/mongo/commit/c89b04dd7ff298c26ffde152466113db987069f4

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