eBay / eBay/HomeStore

Add flip point to simulate crash between data written and log flush

Open
#529 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.