Skip to content

Conversation

@PeshkovMikhail
Copy link
Contributor

@PeshkovMikhail PeshkovMikhail commented Dec 17, 2025

Issue: #4873

In some cases, for example, when a disk is deleted and its id is no longer present in SupportsNotifications, records of its updates appear in the database, but everything remains the same in DiskRegistryState.

To solve this problem DiskStateUpdate will be appeared in the database only if disk_id is specified in SupportsNotifications

@github-actions
Copy link
Contributor

Hi! Thank you for contributing!
The tests on this PR will run after a maintainer adds an ok-to-test label to this PR manually. Thank you for your patience!

@komarevtsev-d komarevtsev-d added blockstore Add this label to run only cloud/blockstore build and tests on PR large-tests Launch large tests for PR ok-to-test Label to approve test launch for external members labels Dec 17, 2025
@github-actions github-actions bot removed the ok-to-test Label to approve test launch for external members label Dec 17, 2025
@github-actions
Copy link
Contributor

Note

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

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit ae5008b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6058 6057 0 0 0 1 0

@vladstepanyuk vladstepanyuk self-requested a review December 18, 2025 05:31
vladstepanyuk
vladstepanyuk previously approved these changes Dec 18, 2025
@github-actions
Copy link
Contributor

Note

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

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit fff2a62.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6059 6058 0 0 0 1 0

TVector<TDiskStateUpdate> updates = statePtr->GetDiskStateUpdates();
UNIT_ASSERT(dbUpdates.size() == updates.size());
for(size_t i = 0; i < dbUpdates.size(); ++i) {
UNIT_ASSERT(google::protobuf::util::MessageDifferencer::Equals(dbUpdates[i].State, updates[i].State));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-format

@github-actions
Copy link
Contributor

Note

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

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 4cd7f41.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6059 6058 0 0 0 1 0

@PeshkovMikhail PeshkovMikhail marked this pull request as ready for review December 22, 2025 11:25
@vladstepanyuk vladstepanyuk self-requested a review December 23, 2025 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blockstore Add this label to run only cloud/blockstore build and tests on PR large-tests Launch large tests for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants