[SERVER-61104] Robustify find_and_modify_invalid_query_params.js Created: 29/Oct/21  Updated: 29/Oct/23  Resolved: 05/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.0.7

Type: Bug Priority: Major - P3
Reporter: Rishab Joshi (Inactive) Assignee: Rishab Joshi (Inactive)
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:
v5.0
Participants:
Linked BF Score: 21

 Description   

Test caseĀ find_and_modify_invalid_query_params.js here assumes that the document that was deleted in the first document in the collection. This assumption might break when the ordering of the document in the database is not in accordance with the order of inserts of the documents. Furthermore, with operations like tenant migration, the document order might change. This ticket makes the test case more assertive and removes those assumptions.



 Comments   
Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}

Message: SERVER-61104 Robustify find_and_modify_invalid_query_params.js
Branch: v5.0
https://github.com/mongodb/mongo/commit/d4cd82e2d3298907089329b35161c3c009e6056f

Comment by Githook User [ 05/Nov/21 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}

Message: SERVER-61104 Robustify find_and_modify_invalid_query_params.js.
Branch: master
https://github.com/mongodb/mongo/commit/d92ef9bf69fc6cdde29a210e3a1184b67d13908c

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