blob: 9effe8c5bb8204e0cdb543eec2e4f2b3844bd195 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include "impl.h"
namespace NKikimr::NBsController {
struct TControllerSystemViewsState {
std::unordered_map<TPDiskId, NKikimrSysView::TPDiskInfo, THash<TPDiskId>> PDisks;
std::unordered_map<TVSlotId, NKikimrSysView::TVSlotInfo, THash<TVSlotId>> VSlots;
std::unordered_map<TGroupId, NKikimrSysView::TGroupInfo, THash<TGroupId>> Groups;
std::unordered_map<TBlobStorageController::TBoxStoragePoolId, NKikimrSysView::TStoragePoolInfo,
THash<TBlobStorageController::TBoxStoragePoolId>> StoragePools;
};
struct TEvControllerUpdateSystemViews :
TEventLocal<TEvControllerUpdateSystemViews, TEvBlobStorage::EvControllerUpdateSystemViews>
{
TControllerSystemViewsState State;
std::unordered_set<TPDiskId, THash<TPDiskId>> DeletedPDisks;
std::unordered_set<TVSlotId, THash<TVSlotId>> DeletedVSlots;
std::unordered_set<TGroupId, THash<TGroupId>> DeletedGroups;
std::unordered_set<TBlobStorageController::TBoxStoragePoolId, THash<TBlobStorageController::TBoxStoragePoolId>> DeletedStoragePools;
TBlobStorageController::THostRecordMap HostRecords;
ui32 GroupReserveMin;
ui32 GroupReservePart;
};
} // NKikimr::NBsController
|