Skip to content

Commit

Permalink
Remove the usage of txn metadata file
Browse files Browse the repository at this point in the history
This commit removes the usage of transaction metadata file. Initially, it was used by the apply process to bypass transactions that were already applied. However, this approach had its challenges. Specifically, in live replay mode, a transaction with numerous statements could fill the UNIX PIPE (an IPC primitive used in replay mode), leading to a potential deadlock. This is because the apply process would be waiting for the transaction metadata file.

By eliminating the transaction metadata file, the apply process lets the transaction proceed and decides whether to apply or skip it based on the commit LSN during the commit phase.

Signed-off-by: Arunprasad Rajkumar <[email protected]>
  • Loading branch information
arajkumar committed Nov 3, 2023
1 parent 44d6fdf commit 810316a
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 249 deletions.
Loading

0 comments on commit 810316a

Please sign in to comment.