File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,14 @@ class TViewerPipeClient : public TActorBootstrapped<TDerived> {
148
148
SendRequestToPipe (pipeClient, request.Release ());
149
149
}
150
150
151
+ void RequestBSControllerConfigWithStoragePools () {
152
+ TActorId pipeClient = ConnectTabletPipe (GetBSControllerId ());
153
+ THolder<TEvBlobStorage::TEvControllerConfigRequest> request = MakeHolder<TEvBlobStorage::TEvControllerConfigRequest>();
154
+ request->Record .MutableRequest ()->AddCommand ()->MutableQueryBaseConfig ();
155
+ request->Record .MutableRequest ()->AddCommand ()->MutableReadStoragePool ()->SetBoxId (Max<ui64>());
156
+ SendRequestToPipe (pipeClient, request.Release ());
157
+ }
158
+
151
159
void RequestBSControllerInfo () {
152
160
TActorId pipeClient = ConnectTabletPipe (GetBSControllerId ());
153
161
THolder<TEvBlobStorage::TEvRequestControllerInfo> request = MakeHolder<TEvBlobStorage::TEvRequestControllerInfo>();
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ class TJsonStorageBase : public TViewerPipeClient<TJsonStorageBase> {
174
174
return ;
175
175
}
176
176
177
- RequestBSControllerConfig ();
177
+ RequestBSControllerConfigWithStoragePools ();
178
178
179
179
TBase::Become (&TThis::StateWork);
180
180
Schedule (TDuration::MilliSeconds (Timeout / 100 * 70 ), new TEvents::TEvWakeup (TimeoutBSC)); // 70% timeout (for bsc)
You can’t perform that action at this time.
0 commit comments