Add flip point to simulate crash between data written and log flush
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29
- Forks
- 30
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 6
Description
function point: ReplLogStore::end_of_append_batch
The goal of this test is to simulate a crash between data written and log flush, and after replica restarted, wait for the corresponding data to be committed and do a read on that lsn, make sure read data is same as what was written.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at ReplLogStore::end_of_append_batch and trace the append path around data being written and the log being flushed. Add the requested crash simulation point, then verify that after replica restart the corresponding data is committed and reading the specified LSN returns the data that was written.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases, distributed-systems, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100