Skip to content

Commit d947de9

Browse files
committed
issue-4293: attach detach all known paths on Add Host
1 parent 81b41dd commit d947de9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cloud/blockstore/config/storage.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,5 +1360,5 @@ message TStorageServiceConfig
13601360
optional uint64 MaxInflightAttachDetachPathRequestsProcessing = 467;
13611361

13621362
// Timeout for attach/detach path requests (in milliseconds).
1363-
optional uint32 AttachDetachPathRequestTimeout = 467;
1363+
optional uint32 AttachDetachPathRequestTimeout = 468;
13641364
}

cloud/blockstore/libs/storage/disk_registry/disk_registry_state.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5585,6 +5585,9 @@ NProto::TError TDiskRegistryState::UpdateCmsHostState(
55855585
for (const auto& device: agent->GetDevices()) {
55865586
paths.emplace_back(device.GetDeviceName());
55875587
}
5588+
for (const auto& [path, _]: agent->GetPathAttachStates()) {
5589+
paths.emplace_back(path);
5590+
}
55885591
SortUnique(paths);
55895592

55905593
for (auto& path: paths) {

0 commit comments

Comments
 (0)