From c2c652b9a8a56b3d603ac046d70632e18b7e15f2 Mon Sep 17 00:00:00 2001 From: JmPotato Date: Wed, 4 Sep 2024 11:18:55 +0800 Subject: [PATCH] resource_manager: add a new runaway action SwitchGroup (#1254) * Add a new runaway action SwitchGroup Signed-off-by: JmPotato * Use a simple field to store switch_group_name Signed-off-by: JmPotato * Address the comment Signed-off-by: JmPotato --------- Signed-off-by: JmPotato --- pkg/resource_manager/resource_manager.pb.go | 307 ++++++++++++-------- proto/resource_manager.proto | 12 +- scripts/proto.lock | 9 + 3 files changed, 199 insertions(+), 129 deletions(-) diff --git a/pkg/resource_manager/resource_manager.pb.go b/pkg/resource_manager/resource_manager.pb.go index 2bfb35c28..f3f6ecdc3 100644 --- a/pkg/resource_manager/resource_manager.pb.go +++ b/pkg/resource_manager/resource_manager.pb.go @@ -110,10 +110,11 @@ func (GroupMode) EnumDescriptor() ([]byte, []int) { type RunawayAction int32 const ( - RunawayAction_NoneAction RunawayAction = 0 - RunawayAction_DryRun RunawayAction = 1 - RunawayAction_CoolDown RunawayAction = 2 - RunawayAction_Kill RunawayAction = 3 + RunawayAction_NoneAction RunawayAction = 0 + RunawayAction_DryRun RunawayAction = 1 + RunawayAction_CoolDown RunawayAction = 2 + RunawayAction_Kill RunawayAction = 3 + RunawayAction_SwitchGroup RunawayAction = 4 ) var RunawayAction_name = map[int32]string{ @@ -121,13 +122,15 @@ var RunawayAction_name = map[int32]string{ 1: "DryRun", 2: "CoolDown", 3: "Kill", + 4: "SwitchGroup", } var RunawayAction_value = map[string]int32{ - "NoneAction": 0, - "DryRun": 1, - "CoolDown": 2, - "Kill": 3, + "NoneAction": 0, + "DryRun": 1, + "CoolDown": 2, + "Kill": 3, + "SwitchGroup": 4, } func (x RunawayAction) String() string { @@ -1813,12 +1816,15 @@ func (m *RunawayWatch) GetType() RunawayWatchType { } type RunawaySettings struct { - Rule *RunawayRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - Action RunawayAction `protobuf:"varint,2,opt,name=action,proto3,enum=resource_manager.RunawayAction" json:"action,omitempty"` - Watch *RunawayWatch `protobuf:"bytes,3,opt,name=watch,proto3" json:"watch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Rule *RunawayRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + Action RunawayAction `protobuf:"varint,2,opt,name=action,proto3,enum=resource_manager.RunawayAction" json:"action,omitempty"` + Watch *RunawayWatch `protobuf:"bytes,3,opt,name=watch,proto3" json:"watch,omitempty"` + // When the runaway action is `SwitchGroup`, + // this field will be used to indicate which group to switch. + SwitchGroupName string `protobuf:"bytes,4,opt,name=switch_group_name,json=switchGroupName,proto3" json:"switch_group_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *RunawaySettings) Reset() { *m = RunawaySettings{} } @@ -1875,6 +1881,13 @@ func (m *RunawaySettings) GetWatch() *RunawayWatch { return nil } +func (m *RunawaySettings) GetSwitchGroupName() string { + if m != nil { + return m.SwitchGroupName + } + return "" +} + type BackgroundSettings struct { JobTypes []string `protobuf:"bytes,1,rep,name=job_types,json=jobTypes,proto3" json:"job_types,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -2030,119 +2043,120 @@ func init() { func init() { proto.RegisterFile("resource_manager.proto", fileDescriptor_7048dd9233ee965d) } var fileDescriptor_7048dd9233ee965d = []byte{ - // 1782 bytes of a gzipped FileDescriptorProto + // 1807 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x73, 0x1b, 0x49, - 0x15, 0xd7, 0xe8, 0x5b, 0x4f, 0xb1, 0x2d, 0xb7, 0x9d, 0x8d, 0x56, 0xa9, 0x38, 0xbb, 0x03, 0xa4, +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 0x82, 0xf0, 0x3e, 0x15, - 0x8e, 0x21, 0x39, 0x23, 0xca, 0x59, 0xe8, 0x39, 0x43, 0x5d, 0x6c, 0x65, 0x7c, 0x53, 0xf3, 0x8d, - 0xea, 0x91, 0xe2, 0x1e, 0x46, 0x68, 0x13, 0x5a, 0xae, 0xcf, 0x68, 0x20, 0x9c, 0x38, 0x60, 0x27, - 0x31, 0x75, 0x98, 0xd7, 0x2e, 0x29, 0x85, 0x65, 0x4d, 0xef, 0x2a, 0xf2, 0x33, 0xcf, 0xfe, 0x4f, - 0x19, 0x50, 0xde, 0x87, 0x2b, 0xf7, 0xc2, 0x97, 0x50, 0xe7, 0xb1, 0xc3, 0x04, 0x35, 0x9e, 0x35, - 0x77, 0xb6, 0x2f, 0x13, 0xeb, 0x76, 0x12, 0x73, 0xf7, 0x8b, 0x02, 0xae, 0xf1, 0xf8, 0x99, 0x04, - 0x40, 0x7d, 0x40, 0x9c, 0x8c, 0x9d, 0x54, 0x5f, 0xc3, 0x96, 0x14, 0xec, 0xa3, 0x2b, 0xc1, 0x92, - 0x71, 0xb2, 0xeb, 0x5f, 0x14, 0x70, 0x8b, 0x4f, 0x97, 0xda, 0x50, 0x0f, 0x36, 0xdc, 0x30, 0x88, - 0xe2, 0xe1, 0x48, 0xb0, 0x30, 0x70, 0x22, 0x16, 0xb8, 0xd4, 0xf1, 0x49, 0x94, 0xe6, 0xbb, 0x5d, - 0x56, 0x46, 0xef, 0xe4, 0x8d, 0xee, 0x4d, 0xf5, 0xf0, 0xed, 0x0c, 0xc8, 0xb1, 0xc4, 0x38, 0x20, - 0x51, 0x9a, 0xc9, 0xef, 0xc0, 0x12, 0x8b, 0x9c, 0x1e, 0x71, 0x07, 0x32, 0x8f, 0x81, 0xd7, 0xae, - 0xa8, 0x29, 0x71, 0x83, 0x45, 0xbb, 0x29, 0x0d, 0xdd, 0x01, 0x60, 0x91, 0x23, 0xd8, 0x4b, 0x9f, - 0x44, 0xaf, 0xda, 0x55, 0x25, 0xd1, 0x60, 0xd1, 0x0b, 0x4d, 0xe8, 0x3c, 0x87, 0x46, 0x9a, 0x28, - 0xf4, 0x18, 0x9a, 0x49, 0x35, 0x70, 0x27, 0x36, 0x95, 0xf5, 0xe1, 0xbc, 0x56, 0x50, 0x42, 0xdd, - 0x80, 0x09, 0x19, 0x2d, 0x6e, 0xf0, 0x04, 0xa2, 0xc3, 0x00, 0xe5, 0x33, 0x84, 0x8e, 0x61, 0x3d, - 0x05, 0xce, 0xa4, 0xff, 0x1c, 0x0b, 0xb3, 0xf9, 0xc4, 0x88, 0xe7, 0x40, 0x77, 0x1b, 0x50, 0x33, - 0x54, 0xfb, 0xb7, 0x16, 0xac, 0xcf, 0xf6, 0xc9, 0xf5, 0x7a, 0x70, 0x0f, 0x1a, 0xdc, 0xa8, 0x26, - 0xe3, 0xff, 0x7b, 0x17, 0x54, 0x85, 0x96, 0xc6, 0x53, 0x3d, 0xfb, 0xd7, 0xc5, 0x99, 0xa6, 0x4d, - 0x7d, 0xb9, 0x6a, 0xe1, 0x1f, 0x03, 0xea, 0x73, 0x12, 0x08, 0xea, 0xc9, 0xdd, 0x70, 0x84, 0x84, - 0x4c, 0xbc, 0xba, 0x97, 0xf7, 0xea, 0xa9, 0x96, 0xc5, 0xdd, 0xac, 0xed, 0x95, 0xfe, 0x0c, 0x55, - 0x36, 0xc0, 0xad, 0x14, 0x34, 0x41, 0x30, 0xc8, 0x25, 0x85, 0xfc, 0x60, 0x31, 0xf2, 0x34, 0xf7, - 0x59, 0x13, 0x37, 0x13, 0x13, 0x59, 0x5e, 0x64, 0xff, 0xc5, 0x82, 0xf5, 0x79, 0x2e, 0xa1, 0x4f, - 0xa1, 0x2c, 0x26, 0x23, 0x1d, 0xf7, 0xf2, 0x05, 0xd5, 0xf5, 0x62, 0x32, 0xa2, 0x58, 0x89, 0xa3, - 0x7d, 0x58, 0x4e, 0x1c, 0x4f, 0x33, 0xb1, 0xa0, 0x81, 0xb2, 0xde, 0x2d, 0x19, 0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x83, 0x40, 0x17, 0x5f, 0x2c, 0xd3, 0x6a, 0xb9, 0x77, 0x99, 0x58, 0x62, 0x67, + 0xd3, 0xf9, 0xc4, 0xd9, 0x5d, 0xff, 0xc7, 0xef, 0x2b, 0xce, 0xdf, 0xde, 0x6c, 0x38, 0x7f, 0x7f, + 0xb3, 0xe1, 0xfc, 0xeb, 0xcd, 0x86, 0xf3, 0xbb, 0x7f, 0x6f, 0x2c, 0x75, 0x4a, 0xfa, 0xa1, 0xf5, + 0x07, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x43, 0x12, 0x31, 0xbb, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3823,6 +3837,13 @@ func (m *RunawaySettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.SwitchGroupName) > 0 { + i -= len(m.SwitchGroupName) + copy(dAtA[i:], m.SwitchGroupName) + i = encodeVarintResourceManager(dAtA, i, uint64(len(m.SwitchGroupName))) + i-- + dAtA[i] = 0x22 + } if m.Watch != nil { { size, err := m.Watch.MarshalToSizedBuffer(dAtA[:i]) @@ -4565,6 +4586,10 @@ func (m *RunawaySettings) Size() (n int) { l = m.Watch.Size() n += 1 + l + sovResourceManager(uint64(l)) } + l = len(m.SwitchGroupName) + if l > 0 { + n += 1 + l + sovResourceManager(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -7898,6 +7923,38 @@ func (m *RunawaySettings) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SwitchGroupName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowResourceManager + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthResourceManager + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthResourceManager + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SwitchGroupName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipResourceManager(dAtA[iNdEx:]) diff --git a/proto/resource_manager.proto b/proto/resource_manager.proto index e6077d2c0..4c4fee932 100644 --- a/proto/resource_manager.proto +++ b/proto/resource_manager.proto @@ -196,9 +196,10 @@ message Error { enum RunawayAction { NoneAction = 0; - DryRun = 1; // do nothing - CoolDown = 2; // deprioritize the task - Kill = 3; // kill the task + DryRun = 1; // do nothing + CoolDown = 2; // deprioritize the task + Kill = 3; // kill the task + SwitchGroup = 4; // switch the task to another group } enum RunawayWatchType { @@ -219,9 +220,12 @@ message RunawayWatch { } message RunawaySettings { - RunawayRule rule = 1; + RunawayRule rule = 1; RunawayAction action = 2; RunawayWatch watch = 3; + // When the runaway action is `SwitchGroup`, + // this field will be used to indicate which group to switch. + string switch_group_name = 4; } message BackgroundSettings { diff --git a/scripts/proto.lock b/scripts/proto.lock index 8e8e04fcc..df6aefb03 100644 --- a/scripts/proto.lock +++ b/scripts/proto.lock @@ -19067,6 +19067,10 @@ { "name": "Kill", "integer": 3 + }, + { + "name": "SwitchGroup", + "integer": 4 } ] }, @@ -19595,6 +19599,11 @@ "id": 3, "name": "watch", "type": "RunawayWatch" + }, + { + "id": 4, + "name": "switch_group_name", + "type": "string" } ] },