Skip to content

issue-4875: Fix data loss on fresh blobs data loading with Fresh Blocks Writer Feature#5567

Open
vladstepanyuk wants to merge 1 commit intomainfrom
users/vladstepanyuk/issue-4875/fix-fresh-blobs-loading-data-loss/0
Open

issue-4875: Fix data loss on fresh blobs data loading with Fresh Blocks Writer Feature#5567
vladstepanyuk wants to merge 1 commit intomainfrom
users/vladstepanyuk/issue-4875/fix-fresh-blobs-loading-data-loss/0

Conversation

@vladstepanyuk
Copy link
Copy Markdown
Collaborator

Notes

We persist the current TrimFreshLogToCommitId for every AddBlobs transaction in the local database. On partition start, we load all the blobs starting from that persisted TrimFreshLogCommitId. So, if at the time of AddBlob transaction execution, there are some inflight requests with a commit id less than the TrimFreshLog to CommitId in the partition and a reboot occurs after the transaction completes, we will not load fresh blobs with a commit id less than the TrimFreshLog from the FBW , though response was already sent.

In this PR i persist Last TrimFreshLogToCommitId, which takes into account commits from FBW

Issue

#4875

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 24, 2026

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/ (test time: 246s): all tests PASSED for commit 73bdaf5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
864 864 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 222s): all tests PASSED for commit 73bdaf5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1091 1091 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1474s): all tests PASSED for commit 73bdaf5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5963 5962 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 4729s): all tests PASSED for commit 73bdaf5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
3509 3509 0 0 0 0 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant