diff --git a/cmd/varlogadm/cli.go b/cmd/varlogadm/cli.go index accadfdc5..c9cfe7b95 100644 --- a/cmd/varlogadm/cli.go +++ b/cmd/varlogadm/cli.go @@ -88,7 +88,7 @@ func start(c *cli.Context) error { if err != nil { return err } - logger = logger.Named("adm").With(zap.Uint32("cid", uint32(clusterID))) + logger = logger.Named("adm").With(zap.Int32("cid", int32(clusterID))) defer func() { _ = logger.Sync() }() diff --git a/cmd/varlogsn/varlogsn.go b/cmd/varlogsn/varlogsn.go index f6ef5e92a..ad0e2e24b 100644 --- a/cmd/varlogsn/varlogsn.go +++ b/cmd/varlogsn/varlogsn.go @@ -92,7 +92,7 @@ func start(c *cli.Context) error { return fmt.Errorf("flagReplicationClientWriteBufferSize: %w", err) } - logger = logger.Named("sn").With(zap.Uint32("cid", uint32(clusterID)), zap.Int32("snid", int32(storageNodeID))) + logger = logger.Named("sn").With(zap.Int32("cid", int32(clusterID)), zap.Int32("snid", int32(storageNodeID))) meterProviderOpts, err := flags.ParseTelemetryFlags(context.Background(), c, "sn", storageNodeID.String(), clusterID) if err != nil { diff --git a/internal/metarepos/config.go b/internal/metarepos/config.go index cb82f04a4..3c73b58af 100644 --- a/internal/metarepos/config.go +++ b/internal/metarepos/config.go @@ -127,7 +127,7 @@ func newConfig(opts []Option) (config, error) { } cfg.logger = cfg.logger.Named("mr").With( - zap.Uint32("cid", uint32(cfg.clusterID)), + zap.Int32("cid", int32(cfg.clusterID)), zap.Uint64("nodeid", uint64(cfg.nodeID)), ) diff --git a/internal/storagenode/volume/volume.go b/internal/storagenode/volume/volume.go index fa0f70ef5..1b973e9b3 100644 --- a/internal/storagenode/volume/volume.go +++ b/internal/storagenode/volume/volume.go @@ -45,7 +45,7 @@ func (dd *DataDir) String() string { // Valid if the cluster ID and storage node ID are correct and the data directory is writable. func (dd *DataDir) Valid(cid types.ClusterID, snid types.StorageNodeID) error { if dd.ClusterID != cid { - return fmt.Errorf("unexpected cluster id %d", uint32(dd.ClusterID)) + return fmt.Errorf("unexpected cluster id %d", dd.ClusterID) } if dd.StorageNodeID != snid { return fmt.Errorf("unexpected storage node id %d", int32(dd.StorageNodeID)) diff --git a/pkg/types/types.go b/pkg/types/types.go index 2f703c186..35c18f467 100644 --- a/pkg/types/types.go +++ b/pkg/types/types.go @@ -10,17 +10,17 @@ import ( "sync/atomic" ) -type ClusterID uint32 +type ClusterID int32 var _ fmt.Stringer = (*ClusterID)(nil) func ParseClusterID(s string) (ClusterID, error) { - id, err := strconv.ParseUint(s, 10, 32) + id, err := strconv.ParseInt(s, 10, 32) return ClusterID(id), err } func (cid ClusterID) String() string { - return strconv.FormatUint(uint64(cid), 10) + return strconv.FormatInt(int64(cid), 10) } type StorageNodeID int32 diff --git a/proto/mrpb/management.pb.go b/proto/mrpb/management.pb.go index 9d2a42d19..92a6542d8 100644 --- a/proto/mrpb/management.pb.go +++ b/proto/mrpb/management.pb.go @@ -391,49 +391,49 @@ func init() { func init() { proto.RegisterFile("proto/mrpb/management.proto", fileDescriptor_8658321b298c6927) } var fileDescriptor_8658321b298c6927 = []byte{ - // 662 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xcb, 0x6e, 0xd3, 0x4c, - 0x14, 0x8e, 0xdb, 0x5c, 0x9a, 0x93, 0xb6, 0x6a, 0x47, 0x6a, 0x15, 0xb9, 0x92, 0x1d, 0xf9, 0xd7, - 0x2f, 0x45, 0xa2, 0xd8, 0x52, 0x50, 0x11, 0x82, 0x2e, 0x4a, 0x68, 0x8b, 0xb2, 0x28, 0xa0, 0x91, - 0x58, 0x40, 0x17, 0x95, 0x13, 0x9f, 0xb8, 0x56, 0x6c, 0x8f, 0x71, 0x26, 0x15, 0xd9, 0xf2, 0x04, - 0x3c, 0x02, 0x2f, 0xc1, 0x03, 0xb0, 0x63, 0xd9, 0x25, 0x2b, 0x23, 0x25, 0xbb, 0x6c, 0xd9, 0xb1, - 0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 0x3e, 0x0d, 0x15, 0xe9, 0x7c, 0xa8, 0x64, 0xbe, 0x0d, 0x95, 0xcc, 0x5b, 0xed, 0xda, - 0x0d, 0x9c, 0xfe, 0xb9, 0x9a, 0x79, 0x61, 0x3f, 0xf8, 0x15, 0x00, 0x00, 0xff, 0xff, 0x43, 0x7b, - 0x79, 0x16, 0xce, 0x06, 0x00, 0x00, + // 658 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0x8d, 0xdb, 0x3c, 0x9a, 0x9b, 0x52, 0xb5, 0x23, 0xb5, 0x8a, 0x5c, 0xc9, 0x8e, 0x8c, 0x90, + 0x22, 0x51, 0x6c, 0x29, 0xa8, 0x08, 0x41, 0x17, 0x25, 0xb4, 0x45, 0x59, 0x14, 0xd0, 0x48, 0x2c, + 0xa0, 0x8b, 0xca, 0x89, 0x6f, 0x5c, 0x2b, 0xb6, 0xc7, 0x38, 0x93, 0x8a, 0x6c, 0xf9, 0x02, 0x3e, + 0x81, 0x9f, 0xe0, 0x03, 0xd8, 0xb1, 0xec, 0x92, 0x95, 0x91, 0x92, 0x5d, 0xb6, 0xec, 0x58, 0x21, + 0x8f, 0xf3, 0x72, 0x9f, 0x2a, 0x48, 0x48, 0xec, 0xee, 0x6b, 0xce, 0x9d, 0x7b, 0x7c, 0xe7, 0x18, + 0x36, 0x83, 0x90, 0x71, 0x66, 0x78, 0x61, 0xd0, 0x34, 0x3c, 0xd3, 0x37, 0x6d, 0xf4, 0xd0, 0xe7, + 0xba, 0x88, 0x92, 0xd2, 0xa9, 0x19, 0xba, 0xcc, 0xd6, 0xe3, 0xac, 0xfc, 0xc0, 0x76, 0xf8, 0x49, + 0xaf, 0xa9, 0xb7, 0x98, 0x67, 0xd8, 0xcc, 0x66, 0x86, 0xa8, 0x69, 0xf6, 0xda, 0xc2, 0x4b, 0x60,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d, 0x81, 0x19, 0x9a, + 0x54, 0x3f, 0x59, 0x78, 0x2c, 0x69, 0x6f, 0x60, 0xe3, 0xfc, 0x6b, 0xe9, 0x06, 0xcc, 0xef, 0x22, + 0x79, 0x0a, 0xcb, 0xd3, 0x0d, 0xf6, 0xdb, 0x4c, 0xf4, 0x2b, 0xd5, 0xca, 0x57, 0x61, 0xd3, 0x52, + 0x6b, 0xe6, 0xd4, 0x7e, 0x4a, 0x00, 0x87, 0x53, 0x25, 0x26, 0xbb, 0x50, 0x18, 0x2b, 0x25, 0xd9, + 0x4c, 0x01, 0xa4, 0xf5, 0x53, 0xde, 0xd0, 0x13, 0xc1, 0xd5, 0x27, 0x82, 0xab, 0xef, 0xc7, 0x82, + 0xab, 0x65, 0xc8, 0x01, 0xc0, 0x4c, 0x98, 0x88, 0x92, 0x02, 0xb9, 0xa0, 0x58, 0xd7, 0xe0, 0x1c, + 0xc1, 0x4a, 0x7a, 0x5e, 0xa2, 0xa5, 0xb0, 0x2e, 0x95, 0x0e, 0xf9, 0xee, 0xb5, 0x35, 0x09, 0x61, + 0x5a, 0xa6, 0xbe, 0xf3, 0x6d, 0xa0, 0x48, 0x67, 0x03, 0x45, 0xfa, 0x34, 0x54, 0x32, 0x9f, 0x87, + 0x8a, 0x74, 0x36, 0x54, 0x32, 0xdf, 0x87, 0x4a, 0xe6, 0x9d, 0x76, 0xe5, 0x06, 0x4e, 0xff, 0x5c, + 0xcd, 0xbc, 0xb0, 0x1f, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x08, 0x80, 0xa8, 0x1b, 0xce, 0x06, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/mrpb/management.proto b/proto/mrpb/management.proto index cad46c01f..c0358f862 100644 --- a/proto/mrpb/management.proto +++ b/proto/mrpb/management.proto @@ -15,7 +15,7 @@ option (gogoproto.goproto_unrecognized_all) = false; option (gogoproto.goproto_sizecache_all) = false; message AddPeerRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -29,7 +29,7 @@ message AddPeerRequest { } message RemovePeerRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -41,7 +41,7 @@ message RemovePeerRequest { } message GetClusterInfoRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -54,7 +54,7 @@ message ClusterInfo { bool learner = 3; } - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID", (gogoproto.jsontag) = "clusterId" diff --git a/proto/mrpb/metadata_repository.pb.go b/proto/mrpb/metadata_repository.pb.go index c796a1903..92afc1d43 100644 --- a/proto/mrpb/metadata_repository.pb.go +++ b/proto/mrpb/metadata_repository.pb.go @@ -461,52 +461,52 @@ func init() { } var fileDescriptor_0ffe516e0fdff161 = []byte{ - // 719 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x96, 0xcd, 0x4e, 0xdb, 0x40, - 0x10, 0xc7, 0xe3, 0x0a, 0x02, 0x4c, 0x08, 0x94, 0x4d, 0x3f, 0xc0, 0xa8, 0x71, 0xe4, 0x22, 0x44, - 0x55, 0xe1, 0x48, 0xf4, 0xc2, 0x81, 0x8a, 0x2a, 0xd0, 0xa2, 0xa0, 0x94, 0x56, 0x4e, 0xe9, 0xa1, - 0x55, 0x15, 0x39, 0xf1, 0xd6, 0xb5, 0xb0, 0xb3, 0xae, 0x77, 0x83, 0xc4, 0x5b, 0xb4, 0x6f, 0xd0, - 0xd7, 0xe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0x1c, 0xa3, 0x57, 0xc7, 0xd0, 0x99, 0xd2, 0x94, 0xde, 0x98, - 0x38, 0x0d, 0x14, 0x49, 0x2f, 0xd1, 0x34, 0xa8, 0x7e, 0x81, 0xfb, 0x2d, 0x62, 0xb5, 0x99, 0x8f, - 0x0d, 0x57, 0x34, 0x69, 0x02, 0x38, 0xc4, 0xea, 0x50, 0xbe, 0x18, 0xb7, 0x58, 0x19, 0x6b, 0x91, - 0x94, 0x8d, 0x35, 0x98, 0x71, 0x44, 0x48, 0x3d, 0x93, 0xa0, 0xd4, 0xc6, 0x86, 0x23, 0xd0, 0x9f, - 0x01, 0x7a, 0xce, 0x80, 0x32, 0xec, 0x77, 0x6c, 0x93, 0xa3, 0xcb, 0x8d, 0xad, 0x61, 0xa0, 0xcc, - 0xec, 0x44, 0xab, 0xcd, 0xdd, 0xf3, 0x40, 0x79, 0x9e, 0x99, 0xe6, 0x91, 0x71, 0x64, 0x90, 0x7a, - 0xd4, 0xb4, 0xee, 0x1d, 0x59, 0x75, 0x76, 0xe2, 0x61, 0xaa, 0x25, 0xe9, 0xfa, 0x4c, 0xcc, 0x6b, - 0x9a, 0xc8, 0x84, 0x72, 0xaa, 0x3b, 0xe4, 0xdf, 0xab, 0x49, 0x6b, 0x93, 0x8d, 0x57, 0xc3, 0x40, - 0x29, 0x25, 0x6a, 0x79, 0x87, 0xf5, 0x9b, 0x3b, 0x64, 0x0a, 0xf4, 0x52, 0xb2, 0xa1, 0xa6, 0xa9, - 0xfe, 0x96, 0x60, 0x36, 0xda, 0x52, 0x3c, 0xea, 0x4d, 0x28, 0x52, 0x66, 0xb0, 0x01, 0xe5, 0xfb, - 0x99, 0xdb, 0xa8, 0x5d, 0x7d, 0x54, 0x6d, 0x9e, 0xa7, 0xc7, 0xf9, 0x88, 0x40, 0xc5, 0x31, 0x28, - 0xeb, 0xf4, 0x88, 0xeb, 0xda, 0x8c, 0x61, 0xb3, 0x63, 0x39, 0xb4, 0xcf, 0x65, 0x4f, 0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x7f, 0xe8, 0x99, 0x06, 0xc3, 0x77, 0xc0, 0xd2, 0xa1, 0x94, 0xf9, 0xdc, 0x5c, 0x98, - 0xe0, 0xf8, 0xe7, 0x49, 0xae, 0x5d, 0x9d, 0x10, 0x5d, 0x16, 0xb5, 0x80, 0x5e, 0xc2, 0x44, 0x68, - 0x68, 0x68, 0x31, 0xff, 0x73, 0x48, 0x5d, 0x42, 0x5e, 0xba, 0x24, 0x92, 0x94, 0xef, 0x40, 0x31, - 0xba, 0x7f, 0x48, 0xce, 0xa5, 0xe5, 0x8c, 0x46, 0x5e, 0xbe, 0x34, 0x26, 0x20, 0x8d, 0xad, 0xd3, - 0x61, 0x55, 0x3a, 0x1b, 0x56, 0xa5, 0x1f, 0xa3, 0x6a, 0xe1, 0xd7, 0xa8, 0x2a, 0x9d, 0x8d, 0xaa, - 0x85, 0xbf, 0xa3, 0x6a, 0xe1, 0x93, 0x7a, 0xe5, 0x0d, 0x4b, 0xfe, 0x26, 0x74, 0x8b, 0xfc, 0xf9, - 0xc5, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x84, 0x18, 0x7e, 0x3b, 0x08, 0x00, 0x00, + // 716 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x96, 0xcd, 0x4e, 0xdb, 0x4a, + 0x14, 0xc7, 0xe3, 0x2b, 0x6e, 0x80, 0x13, 0x3e, 0x2e, 0x93, 0xdb, 0x16, 0x8c, 0x1a, 0x23, 0x17, + 0xa1, 0x56, 0x15, 0x8e, 0x44, 0x37, 0x2c, 0xa8, 0xa8, 0x02, 0x2d, 0x0a, 0x4a, 0x69, 0x65, 0x97, + 0x2e, 0x5a, 0x55, 0x91, 0x63, 0x4f, 0x5d, 0x0b, 0x3b, 0xe3, 0x7a, 0x26, 0x48, 0xbc, 0x45, 0xfb, + 0x06, 0x7d, 0x8d, 0xbe, 0x01, 0x4b, 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xf0, 0xb9, 0xb9, 0x30, 0xc1, 0xf1, 0xcf, + 0x93, 0xbc, 0x72, 0x75, 0x42, 0x72, 0x59, 0xd4, 0x0a, 0x7a, 0x0e, 0x13, 0xb1, 0xa1, 0xa1, 0xc5, + 0xf2, 0xcf, 0x21, 0x77, 0x09, 0x79, 0xe9, 0x92, 0x48, 0x56, 0xbe, 0x03, 0xd5, 0xe4, 0xfe, 0x21, + 0xb9, 0x94, 0x56, 0x32, 0x1a, 0x79, 0xf9, 0xd2, 0x98, 0x80, 0xb4, 0xb6, 0x4e, 0x87, 0x0d, 0xe9, + 0x6c, 0xd8, 0x90, 0xbe, 0x8d, 0x1a, 0x95, 0x1f, 0xa3, 0x86, 0x74, 0x36, 0x6a, 0x54, 0x7e, 0x8f, + 0x1a, 0x95, 0x0f, 0xea, 0x95, 0x37, 0x2c, 0xfb, 0x9b, 0xd0, 0xab, 0xf2, 0xe7, 0x67, 0x7f, 0x02, + 0x00, 0x00, 0xff, 0xff, 0x6e, 0x42, 0x36, 0x6f, 0x3b, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/mrpb/metadata_repository.proto b/proto/mrpb/metadata_repository.proto index 924fbad94..899931b7d 100644 --- a/proto/mrpb/metadata_repository.proto +++ b/proto/mrpb/metadata_repository.proto @@ -30,7 +30,7 @@ message LogStreamRequest { } message SealRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -49,7 +49,7 @@ message SealResponse { } message UnsealRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; diff --git a/proto/snpb/management.pb.go b/proto/snpb/management.pb.go index 55b0d8e07..7f6202024 100644 --- a/proto/snpb/management.pb.go +++ b/proto/snpb/management.pb.go @@ -803,68 +803,68 @@ func init() { proto.RegisterFile("proto/snpb/management.proto", fileDescriptor_b var fileDescriptor_b2a108895042472a = []byte{ // 1006 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4f, 0x8b, 0xdb, 0x46, - 0x14, 0xb7, 0xd6, 0xde, 0x3f, 0x7e, 0x5a, 0x77, 0xb3, 0xe3, 0x26, 0x71, 0xb5, 0x60, 0xb9, 0x2a, - 0xa4, 0x6e, 0x4a, 0x24, 0xea, 0x42, 0x59, 0x42, 0xda, 0x34, 0xde, 0x0d, 0x61, 0x61, 0x13, 0x82, - 0x9c, 0x5e, 0x5a, 0xa8, 0x19, 0x4b, 0x53, 0xad, 0x6b, 0x59, 0xa3, 0x68, 0xc6, 0x0b, 0xbe, 0x86, - 0x7e, 0x80, 0x1e, 0x7a, 0x2b, 0x94, 0x7e, 0x8b, 0xd2, 0x53, 0xaf, 0x39, 0x95, 0x1c, 0x4b, 0x0f, - 0x2e, 0x78, 0xcf, 0xfd, 0x02, 0x39, 0x15, 0xcd, 0xc8, 0xb6, 0xe4, 0xb5, 0x31, 0x81, 0x6e, 0xd8, - 0xc3, 0xde, 0xac, 0x99, 0xdf, 0xfb, 0xff, 0x9b, 0xf7, 0x66, 0x0c, 0x7b, 0x61, 0x44, 0x39, 0xb5, - 0x58, 0x10, 0x76, 0xac, 0x3e, 0x0e, 0xb0, 0x47, 0xfa, 0x24, 0xe0, 0xa6, 0x58, 0x45, 0xea, 0x29, - 0x8e, 0x7c, 0xea, 0x99, 0xf1, 0xae, 0x76, 0xc7, 0xeb, 0xf2, 0x93, 0x41, 0xc7, 0x74, 0x68, 0xdf, - 0xf2, 0xa8, 0x47, 0x2d, 0x81, 0xe9, 0x0c, 0xbe, 0x13, 0x5f, 0x52, 0x4d, 0xfc, 0x4b, 0xca, 0x6a, - 0x7b, 0x1e, 0xa5, 0x9e, 0x4f, 0x66, 0x28, 0xd2, 0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01, 0x00, 0x00, 0xff, 0xff, 0x48, 0x52, 0x63, 0x5a, 0xcd, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/snpb/management.proto b/proto/snpb/management.proto index 156dd231d..8d5cd0ce4 100644 --- a/proto/snpb/management.proto +++ b/proto/snpb/management.proto @@ -19,7 +19,7 @@ option (gogoproto.goproto_unrecognized_all) = false; option (gogoproto.goproto_sizecache_all) = false; message GetMetadataRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -30,7 +30,7 @@ message GetMetadataResponse { } message AddLogStreamReplicaRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -54,7 +54,7 @@ message AddLogStreamReplicaResponse { } message RemoveLogStreamRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -73,7 +73,7 @@ message RemoveLogStreamRequest { } message SealRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -104,7 +104,7 @@ message SealResponse { } message UnsealRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -133,7 +133,7 @@ message SyncRequest { ]; string address = 2; } - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; diff --git a/proto/snpb/metadata.pb.go b/proto/snpb/metadata.pb.go index 945d7a49b..f0ae277ec 100644 --- a/proto/snpb/metadata.pb.go +++ b/proto/snpb/metadata.pb.go @@ -255,53 +255,53 @@ func init() { func init() { proto.RegisterFile("proto/snpb/metadata.proto", fileDescriptor_b0d7c3885ca513ae) } var fileDescriptor_b0d7c3885ca513ae = []byte{ - // 727 bytes of a gzipped FileDescriptorProto + // 726 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xc1, 0x4e, 0xdb, 0x4a, - 0x14, 0x8d, 0x21, 0x04, 0x32, 0xe1, 0x3d, 0xc1, 0xf0, 0x10, 0x26, 0xef, 0xbd, 0x38, 0xcd, 0xa2, - 0x4a, 0xd5, 0x62, 0x4b, 0x74, 0x53, 0xa1, 0x6e, 0xea, 0x22, 0x51, 0x24, 0x40, 0x95, 0x53, 0x51, - 0xa9, 0x52, 0x65, 0x4d, 0x92, 0xa9, 0x63, 0xc5, 0xce, 0xb8, 0x33, 0x63, 0x10, 0x7c, 0x05, 0x9f, - 0xc0, 0xae, 0xbf, 0xc2, 0x92, 0x55, 0xd5, 0x95, 0x2b, 0x91, 0x4d, 0x95, 0x4f, 0x60, 0x55, 0x79, - 0x3c, 0x8e, 0x53, 0x87, 0x28, 0xec, 0x66, 0xee, 0xbd, 0xe7, 0xdc, 0x7b, 0xcf, 0x9c, 0xc4, 0x60, - 0x3b, 0xa0, 0x84, 0x13, 0x83, 0x0d, 0x82, 0xb6, 0xe1, 0x63, 0x8e, 0xba, 0x88, 0x23, 0x5d, 0xc4, - 0x60, 0xe5, 0x0c, 0x51, 0x8f, 0x38, 0x7a, 0x9c, 0xab, 0xee, 0x38, 0x2e, 0xef, 0x85, 0x6d, 0xbd, - 0x43, 0x7c, 0xc3, 0x21, 0x0e, 0x31, 0x44, 0x4d, 0x3b, 0xfc, 0x22, 0x6e, 0x09, 0x49, 0x7c, 0x4a, - 0xb0, 0xd5, 0x7f, 0x1d, 0x42, 0x1c, 0x0f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xb2, + 0x02, 0xf2, 0x77, 0x06, 0x00, 0x00, } func (this *StorageNodeMetadataDescriptor) Equal(that interface{}) bool { diff --git a/proto/snpb/metadata.proto b/proto/snpb/metadata.proto index 062059f75..4cf524730 100644 --- a/proto/snpb/metadata.proto +++ b/proto/snpb/metadata.proto @@ -24,7 +24,7 @@ message StorageNodeMetadataDescriptor { option (gogoproto.equal) = true; // ClusterID is the identifier of the cluster. - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID", (gogoproto.jsontag) = "clusterId" diff --git a/proto/snpb/replicator.pb.go b/proto/snpb/replicator.pb.go index c62a317bd..07d825eda 100644 --- a/proto/snpb/replicator.pb.go +++ b/proto/snpb/replicator.pb.go @@ -663,70 +663,70 @@ func init() { func init() { proto.RegisterFile("proto/snpb/replicator.proto", fileDescriptor_85705cb817486b63) } var fileDescriptor_85705cb817486b63 = []byte{ - // 1002 bytes of a gzipped FileDescriptorProto + // 1000 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0xcf, 0x6f, 0xe3, 0x44, 0x14, 0x8e, 0x13, 0xa7, 0x4d, 0x5e, 0xda, 0x92, 0x4e, 0x59, 0x1a, 0x02, 0xb5, 0xb3, 0x46, 0x42, 0xe1, 0xc7, 0xc6, 0x52, 0x57, 0x2c, 0xcb, 0x6a, 0xa5, 0x85, 0x96, 0xb4, 0x44, 0x0a, 0x6d, 0x35, 0xae, 0x10, 0x82, 0x43, 0x71, 0x9d, 0x59, 0x63, 0xd5, 0xf1, 0x18, 0x7b, 0x82, 0xe8, 0x7f, 0x80, 0x7a, 0x42, 0xdc, 0x2b, 0x56, 0xa2, 0x42, 0x70, 0xe3, 0x08, 0xff, 0x41, 0x8f, 0x7b, 0xe4, 0x14, - 0x89, 0xf4, 0xc2, 0xdf, 0xb0,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7c, 0x84, 0x40, 0xe5, 0x5d, 0xaa, 0xa9, 0x8d, 0x42, 0x73, 0x0e, 0x8b, 0x67, 0x63, 0x09, 0x16, + 0x27, 0x5a, 0x15, 0x87, 0x34, 0x88, 0x89, 0x71, 0xa2, 0xc0, 0x9c, 0x75, 0x18, 0x38, 0x3b, 0x34, + 0xf6, 0x98, 0x47, 0x83, 0xac, 0x02, 0xde, 0xb8, 0x7f, 0x53, 0xc1, 0x06, 0xa8, 0x2e, 0xe7, 0xc9, + 0x8f, 0x79, 0x36, 0xaf, 0xcd, 0xb3, 0x29, 0x78, 0x78, 0xfe, 0x03, 0xf5, 0xaf, 0x27, 0xba, 0x62, + 0xfc, 0xa6, 0x40, 0x99, 0x97, 0x89, 0xed, 0xc0, 0x25, 0xe8, 0x13, 0x80, 0xc7, 0x5e, 0x14, 0xb3, + 0xbd, 0x89, 0x4a, 0xdf, 0x1d, 0x0d, 0xf5, 0xf2, 0x06, 0x5f, 0xbd, 0x61, 0xb9, 0x65, 0x41, 0xd5, + 0xe5, 0x35, 0x5b, 0x50, 0xf6, 0xed, 0x94, 0x36, 0x29, 0xfc, 0xde, 0x68, 0xa8, 0x97, 0xba, 0xf6, + 0x8d, 0x59, 0x4b, 0x9c, 0x88, 0x93, 0x1a, 0x3f, 0x14, 0xe0, 0x05, 0x5e, 0x7a, 0x27, 0xf0, 0x58, + 0xea, 0xd0, 0xcf, 0x01, 0x1c, 0x7f, 0x10, 0x33, 0x12, 0x8d, 0x3d, 0xfa, 0x90, 0x1f, 0x60, 0x3d, + 0x59, 0x15, 0x3e, 0x7a, 0xeb, 0xea, 0xad, 0x32, 0x38, 0x2e, 0x4b, 0xbe, 0x4e, 0x0f, 0x3d, 0x82, + 0x99, 0x98, 0x0e, 0x22, 0x87, 0x88, 0x23, 0x54, 0x56, 0x6f, 0xb7, 0xe4, 0x68, 0xa6, 0x43, 0x34, + 0xb6, 0x9f, 0xf4, 0xc3, 0x9a, 0x7a, 0x3a, 0xd4, 0x73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b9, 0x5f, 0x4f, 0x34, 0x65, 0xf5, 0x2c, 0x0f, 0x80, 0xb3, + 0xff, 0x17, 0xb4, 0x05, 0xe5, 0xec, 0xf4, 0x68, 0xe5, 0xdc, 0x29, 0xa7, 0x0d, 0x55, 0xd7, 0x2e, + 0x0b, 0xcb, 0xcf, 0x69, 0xae, 0xa9, 0xa0, 0x0e, 0x94, 0xd2, 0xeb, 0x04, 0xbd, 0x7a, 0xa1, 0x69, + 0x13, 0x9f, 0x81, 0xfa, 0xca, 0x25, 0xd1, 0x94, 0x0c, 0x7d, 0x0a, 0xf3, 0xe7, 0xc4, 0x41, 0xb7, + 0x2f, 0xde, 0x43, 0xd3, 0x25, 0x1a, 0xff, 0x04, 0xc9, 0x98, 0xbf, 0x80, 0xa5, 0x73, 0xa1, 0xc4, + 0x61, 0xff, 0x19, 0x7f, 0x53, 0x59, 0x7b, 0x78, 0x3a, 0xd2, 0x94, 0xa7, 0x23, 0x4d, 0xf9, 0xee, + 0x4c, 0xcb, 0x3d, 0x39, 0xd3, 0x94, 0xa7, 0x67, 0x5a, 0xee, 0x8f, 0x33, 0x2d, 0xf7, 0x99, 0x71, + 0xe9, 0xc0, 0x65, 0xff, 0x97, 0xfb, 0x33, 0xe2, 0xf9, 0xee, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xc7, 0x56, 0x67, 0x23, 0x74, 0x0a, 0x00, 0x00, } func (x SyncState) String() string { diff --git a/proto/snpb/replicator.proto b/proto/snpb/replicator.proto index 4da51e371..2bfe1ee32 100644 --- a/proto/snpb/replicator.proto +++ b/proto/snpb/replicator.proto @@ -85,7 +85,7 @@ message SyncRange { // indicates the last commit sent from the metadata repository to the source. message SyncInitRequest { // ClusterID is the identifier of the cluster. - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ]; @@ -126,7 +126,7 @@ message SyncPayload { } message SyncReplicateRequest { - uint32 cluster_id = 1 [ + int32 cluster_id = 1 [ (gogoproto.casttype) = "github.com/kakao/varlog/pkg/types.ClusterID", (gogoproto.customname) = "ClusterID" ];