[SERVER-41476] Make findAndModify commands in find_and_modify.js deterministic Created: 03/Jun/19  Updated: 29/Oct/23  Resolved: 05/Jun/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.2.0-rc1, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: None
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: Repl 2019-06-17
Participants:
Linked BF Score: 6

 Description   

Without a sort they aren't guaranteed to return documents consistently on retries.



 Comments   
Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}

Message: SERVER-41476 Make findAndModify commands in find_and_modify.js deterministic

(cherry picked from commit e5a5aaa945e3e25c086ec82d71a7d9e38855a299)
Branch: v4.2
https://github.com/mongodb/mongo/commit/b063681f5c018348dffb359867314f690657e5c2

Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}

Message: SERVER-41476 Make findAndModify commands in find_and_modify.js deterministic
Branch: master
https://github.com/mongodb/mongo/commit/e5a5aaa945e3e25c086ec82d71a7d9e38855a299

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