[SERVER-78095] Relax the assertion checking for update_multifield_multiupdate.js FSM workload Created: 14/Jun/23  Updated: 29/Oct/23  Resolved: 16/Jun/23

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

Type: Task Priority: Major - P3
Reporter: Zixuan Zhuang Assignee: Zixuan Zhuang
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
Backport Requested:
v7.0
Sprint: QE 2023-06-26
Participants:
Linked BF Score: 113

 Description   

The 'z' field is not part of the schema for the initially inserted documents. In this situation typeof doc.z === "undefined". And it is known for {multi: true} updates to entirely miss updating a document due to an interleaved chunk migration. I think the appropriate change to make to the update_multifield_multiupdate.js FSM workload would be to relax the assertion about the 'z' field being present in the document when TestData.runningWithBalancer === true.



 Comments   
Comment by Githook User [ 17/Aug/23 ]

Author:

{'name': 'Zixuan Zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}

Message: SERVER-78095 Relax assertion checking when balancer is on
Branch: v7.0
https://github.com/mongodb/mongo/commit/4b26345ac820515c049558a0b6230123305e93ff

Comment by Githook User [ 16/Jun/23 ]

Author:

{'name': 'Zixuan Zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}

Message: SERVER-78095 Relax assertion checking when balancer is on
Branch: master
https://github.com/mongodb/mongo/commit/292542c54cda9cbbb470d2e4798759480d22e405

Generated at Thu Feb 08 06:37:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.