[SERVER-75985] Make random_moveChunk_timeseries_updates.js actually perform updates Created: 11/Apr/23  Updated: 29/Oct/23  Resolved: 13/Jun/23

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

Type: Bug Priority: Major - P3
Reporter: Alyssa Clark Assignee: Alyssa Clark
Resolution: Fixed Votes: 0
Labels: greenerbuild, quick-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-76681 Invariant failure in BucketCatalog wi... Closed
depends on SERVER-75445 Add a concurrency test for random mov... Closed
Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

SERVER-75445 revealed some issues in the moveChunk + timeseries delete/update tests:

  1. The update/delete filter didn't match any records.
  2. The test setup with the mirrored non-sharded, non-timeseries collection did not take into account some isolation behaviors that can occur - namely that a record can get skipped during a deletion or update on the sharded collection due to the background moveChunk operations. This means that the two collections do not always have the same contents at the end of the test.

SERVER-75445 resolves these issues in random_moveChunk_timeseries_deletes.js by fixing the delete filter and relaxing teardown validation on the collection's contents. When applying the same fixes to the update test, the test runtime becomes very long and causes timeouts. We need to fix the two issues above and also determine the cause of the timeouts (hopefully we can just tweak the test configuration to reduce runtime).



 Comments   
Comment by Githook User [ 13/Jun/23 ]

Author:

{'name': 'Alyssa Wagenmaker', 'email': 'alyssa.wagenmaker@mongodb.com', 'username': 'awagenmaker'}

Message: SERVER-75985 Make random_moveChunk_timeseries_updates.js actually perform updates
Branch: master
https://github.com/mongodb/mongo/commit/0508364439ef455550d8d0c3a76d730ac275835c

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