[SERVER-66653] Remove usage of this.tid from assertDocWasUpdated Created: 23/May/22  Updated: 29/Oct/23  Resolved: 26/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc10, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
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:
v6.0
Sprint: Sharding EMEA 2022-05-30
Participants:
Linked BF Score: 8

 Description   

The assertDocWasUpdated function in random_moveChunk_update_shard_key.js does not have access to 'this' since it is not a part of the config object. tid should be passed into the function rather than using this.tid



 Comments   
Comment by Githook User [ 10/Jun/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-66653 Remove usage of this.tid from assertDocWasUpdated

(cherry picked from commit 0048e74c6723d7f7030748967a3efc362e0c015b)
Branch: v6.0
https://github.com/mongodb/mongo/commit/4c5b24082e6336d97b1f3b19f1c0b9156a6d8ad2

Comment by Githook User [ 26/May/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-66653 Remove usage of this.tid from assertDocWasUpdated
Branch: master
https://github.com/mongodb/mongo/commit/0048e74c6723d7f7030748967a3efc362e0c015b

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