Skip to content

Ensure disk registry state in blockstore-client private API#5263

Open
PeshkovMikhail wants to merge 1 commit intoydb-platform:mainfrom
PeshkovMikhail:ensure-dr-integrity-servie
Open

Ensure disk registry state in blockstore-client private API#5263
PeshkovMikhail wants to merge 1 commit intoydb-platform:mainfrom
PeshkovMikhail:ensure-dr-integrity-servie

Conversation

@PeshkovMikhail
Copy link
Contributor

@PeshkovMikhail PeshkovMikhail commented Feb 18, 2026

Issue #4873
Added service with ensurediskregistrystateintegrity. In case the disk registry states from memory and local db are different, the mismatches between them is returned.

@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 Feb 18, 2026
@github-actions github-actions bot removed the ok-to-test Label to approve test launch for external members label Feb 18, 2026
@github-actions
Copy link
Contributor

Note

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

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 11440s): all tests PASSED for commit 830dd56.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6243 6242 0 0 0 1 0

@komarevtsev-d komarevtsev-d changed the title Ensure disk registry state service Ensure disk registry state in blockstore-client private API Feb 20, 2026
if (!google::protobuf::util::JsonStringToMessage(Input, &request->Record)
.ok())
{
Error = MakeError(E_ARGUMENT, "Failed to parse input");
Copy link
Collaborator

Choose a reason for hiding this comment

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

эта ошибка где используется?


TString output;
google::protobuf::util::MessageToJsonString(msg->Record, &output);
auto response = std::make_unique<TEvService::TEvExecuteActionResponse>();
Copy link
Collaborator

Choose a reason for hiding this comment

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

если пришла ошибка, то правильно её в ответ и завернуть

for agent_id in agent_ids:
p = _get_agent_data_path(agent_id, data_path)
with open(os.path.join(p, 'NVMENBS01'), 'wb') as f:
os.truncate(f.fileno(), DEVICES_PER_PATH * (DEVICE_SIZE + 4096))
Copy link
Collaborator

Choose a reason for hiding this comment

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

fallocate сейчас везде в тестах

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.

2 participants