You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/01/29 18:23:57 UTC

[GitHub] [bookkeeper] sursingh opened a new pull request #2564: Issue 2563: Fix SST file corruption.

sursingh opened a new pull request #2564:
URL: https://github.com/apache/bookkeeper/pull/2564


   Fix SST File corruption during checkpointing
   
   ### Motivation
   
   Since the SST files are shared among checkpoints, this will not be resolved by future checkpoints. We will fail to restore all future checkpoints that depend on this file.
   
   ### Changes
   
   The record is sent asynchronously. We need to use a copy of the passed buffer
   in the record. The ownership is retained by the caller and will be potentially
   changed by the caller. In case of corruption the later blocks were
   overwriting the previous blocks resulting in corruption
   
   
   Master Issue: #2563 
   
   > ---
   > In order to uphold a high standard for quality for code contributions, Apache BookKeeper runs various precommit
   > checks for pull requests. A pull request can only be merged when it passes precommit checks.
   >
   > ---
   > Be sure to do all of the following to help us incorporate your contribution
   > quickly and easily:
   >
   > If this PR is a BookKeeper Proposal (BP):
   >
   > - [ ] Make sure the PR title is formatted like:
   >     `<BP-#>: Description of bookkeeper proposal`
   >     `e.g. BP-1: 64 bits ledger is support`
   > - [ ] Attach the master issue link in the description of this PR.
   > - [ ] Attach the google doc link if the BP is written in Google Doc.
   >
   > Otherwise:
   > 
   > - [ ] Make sure the PR title is formatted like:
   >     `<Issue #>: Description of pull request`
   >     `e.g. Issue 123: Description ...`
   > - [ ] Make sure tests pass via `mvn clean apache-rat:check install spotbugs:check`.
   > - [ ] Replace `<Issue #>` in the title with the actual Issue number.
   > 
   > ---
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] eolivelli commented on pull request #2564: Issue 2563: Fix SST file corruption.

Posted by GitBox <gi...@apache.org>.
eolivelli commented on pull request #2564:
URL: https://github.com/apache/bookkeeper/pull/2564#issuecomment-769989357


   @dlg99 we are using the dev/bk-merge-pr.py script in order to merge and cherry pick.
   
   Feel free to commit as soon as CI passes.
   
   We should cherry pick to branch-4.12 branch-4.11 and branch-4.10


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] dlg99 merged pull request #2564: Issue 2563: Fix SST file corruption.

Posted by GitBox <gi...@apache.org>.
dlg99 merged pull request #2564:
URL: https://github.com/apache/bookkeeper/pull/2564


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org