[SERVER-19473] create a test that blocks waiting for a snapshot to be created and then verify that that snapshot is read from Created: 17/Jul/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.1.5
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Matt Dannenberg
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-19446 adding a special server parameter for... Closed
Sprint: Quint Iteration 7
Participants:

 Description   

One way to do this could be:

  • do a committed read of a document in parallel
  • insert the document
  • create a snapshot
  • delete the document


 Comments   
Comment by Matt Dannenberg [ 01/Sep/15 ]

The current testing infrastructure does not allow for this. If we have a blocked read in a parallel shell, we cannot check the result of that read. If we block the read in the main shell and have a parallel shell do the insert, snapshot, and delete, we cannot ensure we read from the snapshot rather than prior to its creation nor can we ensure that we start the read and block before the snapshot is created.

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