File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -774,10 +774,13 @@ struct TEvTablet {
774
774
struct TEvCheckBlobstorageStatusResult : public TEventLocal <TEvCheckBlobstorageStatusResult, EvCheckBlobstorageStatusResult> {
775
775
TVector<ui32> LightYellowMoveGroups;
776
776
TVector<ui32> YellowStopGroups;
777
+ TVector<ui32> LightOrangeGroups;
777
778
778
- TEvCheckBlobstorageStatusResult (TVector<ui32> &&lightYellowMoveGroups, TVector<ui32> &&yellowStopGroups)
779
+ TEvCheckBlobstorageStatusResult (TVector<ui32> &&lightYellowMoveGroups, TVector<ui32> &&yellowStopGroups,
780
+ TVector<ui32> &&lightOrangeGroups)
779
781
: LightYellowMoveGroups(std::move(lightYellowMoveGroups))
780
782
, YellowStopGroups(std::move(yellowStopGroups))
783
+ , LightOrangeGroups(std::move(lightOrangeGroups))
781
784
782
785
{}
783
786
};
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ class TTabletStatusCheckRequest : public TActorBootstrapped<TTabletStatusCheckRe
14
14
ui32 RequestsLeft;
15
15
TVector<ui32> LightYellowMoveGroups;
16
16
TVector<ui32> YellowStopGroups;
17
+ TVector<ui32> LightOrangeGroups;
17
18
18
19
void Handle (TEvBlobStorage::TEvStatusResult::TPtr &ev, const TActorContext &ctx) {
19
20
const TEvBlobStorage::TEvStatusResult *msg = ev->Get ();
@@ -25,10 +26,14 @@ class TTabletStatusCheckRequest : public TActorBootstrapped<TTabletStatusCheckRe
25
26
if (msg->StatusFlags .Check (NKikimrBlobStorage::StatusDiskSpaceYellowStop)) {
26
27
YellowStopGroups.push_back (ev->Cookie );
27
28
}
29
+ if (msg->StatusFlags .Check (NKikimrBlobStorage::StatusDiskSpaceLightOrange)) {
30
+ LightOrangeGroups.push_back (ev->Cookie );
31
+ }
28
32
29
33
if (RequestsLeft == 0 ) {
30
34
ctx.Send (ReplyTo, new TEvTablet::TEvCheckBlobstorageStatusResult (std::move (LightYellowMoveGroups),
31
- std::move (YellowStopGroups)));
35
+ std::move (YellowStopGroups),
36
+ std::move (LightOrangeGroups)));
32
37
return Die (ctx);
33
38
}
34
39
}
You can’t perform that action at this time.
0 commit comments