From 5bf61e550c2f30a520a19d0274f7ca0c316f54b8 Mon Sep 17 00:00:00 2001 From: Hein Meling Date: Wed, 5 Mar 2025 17:42:17 +0100 Subject: [PATCH] Gorums release v0.8.0 --- benchmark/benchmark.pb.go | 12 ++++----- benchmark/benchmark_gorums.pb.go | 8 +++--- cmd/protoc-gen-gorums/dev/zorums.pb.go | 12 ++++----- .../dev/zorums_async_gorums.pb.go | 8 +++--- .../dev/zorums_client_gorums.pb.go | 8 +++--- .../dev/zorums_correctable_gorums.pb.go | 8 +++--- .../dev/zorums_multicast_gorums.pb.go | 8 +++--- .../dev/zorums_qspec_gorums.pb.go | 8 +++--- .../dev/zorums_quorumcall_gorums.pb.go | 8 +++--- .../dev/zorums_rpc_gorums.pb.go | 8 +++--- .../dev/zorums_server_gorums.pb.go | 8 +++--- .../dev/zorums_types_gorums.pb.go | 8 +++--- .../dev/zorums_unicast_gorums.pb.go | 8 +++--- doc/release-guide.md | 27 ++++++++----------- examples/go.sum | 6 ----- examples/storage/proto/storage.pb.go | 2 +- examples/storage/proto/storage_gorums.pb.go | 8 +++--- gorums.pb.go | 12 ++++----- internal/correctable/opts.pb.go | 12 ++++----- internal/version/version.go | 3 ++- ordering/ordering.pb.go | 12 ++++----- ordering/ordering_grpc.pb.go | 2 +- tests/config/config.pb.go | 16 +++++------ tests/config/config_gorums.pb.go | 8 +++--- tests/correctable/correctable.pb.go | 16 +++++------ tests/correctable/correctable_gorums.pb.go | 8 +++--- tests/dummy/dummy.pb.go | 16 +++++------ tests/dummy/dummy_gorums.pb.go | 8 +++--- tests/metadata/metadata.pb.go | 16 +++++------ tests/metadata/metadata_gorums.pb.go | 8 +++--- tests/oneway/oneway.pb.go | 16 +++++------ tests/oneway/oneway_gorums.pb.go | 8 +++--- tests/ordering/order.pb.go | 16 +++++------ tests/ordering/order_gorums.pb.go | 8 +++--- tests/qf/qf.pb.go | 16 +++++------ tests/qf/qf_gorums.pb.go | 8 +++--- tests/tls/tls.pb.go | 16 +++++------ tests/tls/tls_gorums.pb.go | 8 +++--- tests/unresponsive/unresponsive.pb.go | 16 +++++------ tests/unresponsive/unresponsive_gorums.pb.go | 8 +++--- version.go | 10 ++++--- 41 files changed, 208 insertions(+), 214 deletions(-) diff --git a/benchmark/benchmark.pb.go b/benchmark/benchmark.pb.go index dd1e7f9a..75d12284 100644 --- a/benchmark/benchmark.pb.go +++ b/benchmark/benchmark.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: benchmark/benchmark.proto package benchmark @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -587,7 +588,7 @@ func (b0 MemoryStatList_builder) Build() *MemoryStatList { var File_benchmark_benchmark_proto protoreflect.FileDescriptor -var file_benchmark_benchmark_proto_rawDesc = []byte{ +var file_benchmark_benchmark_proto_rawDesc = string([]byte{ 0x0a, 0x19, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2f, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, @@ -669,7 +670,7 @@ var file_benchmark_benchmark_proto_rawDesc = []byte{ 0x6d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x62, 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var file_benchmark_benchmark_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_benchmark_benchmark_proto_goTypes = []any{ @@ -718,7 +719,7 @@ func file_benchmark_benchmark_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_benchmark_benchmark_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_benchmark_benchmark_proto_rawDesc), len(file_benchmark_benchmark_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -729,7 +730,6 @@ func file_benchmark_benchmark_proto_init() { MessageInfos: file_benchmark_benchmark_proto_msgTypes, }.Build() File_benchmark_benchmark_proto = out.File - file_benchmark_benchmark_proto_rawDesc = nil file_benchmark_benchmark_proto_goTypes = nil file_benchmark_benchmark_proto_depIdxs = nil } diff --git a/benchmark/benchmark_gorums.pb.go b/benchmark/benchmark_gorums.pb.go index 52c21c04..8ea88ed8 100644 --- a/benchmark/benchmark_gorums.pb.go +++ b/benchmark/benchmark_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: benchmark/benchmark.proto package benchmark @@ -17,9 +17,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/cmd/protoc-gen-gorums/dev/zorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums.pb.go index 5b9f16f7..79c0d66d 100644 --- a/cmd/protoc-gen-gorums/dev/zorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: zorums.proto package dev @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -194,7 +195,7 @@ func (b0 MyResponse_builder) Build() *MyResponse { var File_zorums_proto protoreflect.FileDescriptor -var file_zorums_proto_rawDesc = []byte{ +var file_zorums_proto_rawDesc = string([]byte{ 0x0a, 0x0c, 0x7a, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x64, 0x65, 0x76, 0x1a, 0x0c, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, @@ -345,7 +346,7 @@ var file_zorums_proto_rawDesc = []byte{ 0x42, 0x20, 0x5a, 0x19, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var file_zorums_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_zorums_proto_goTypes = []any{ @@ -437,7 +438,7 @@ func file_zorums_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_zorums_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_zorums_proto_rawDesc), len(file_zorums_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -448,7 +449,6 @@ func file_zorums_proto_init() { MessageInfos: file_zorums_proto_msgTypes, }.Build() File_zorums_proto = out.File - file_zorums_proto_rawDesc = nil file_zorums_proto_goTypes = nil file_zorums_proto_depIdxs = nil } diff --git a/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go index def34a53..ddc14106 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // QuorumCallAsync plain. diff --git a/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go index f8dabddd..9c0e7d60 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -14,9 +14,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // ZorumsServiceClient is the client interface for the ZorumsService service. diff --git a/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go index 4aaae1e1..c29d8603 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // Correctable plain. diff --git a/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go index d82005ff..4c078193 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // Multicast plain. Response type is not needed here. diff --git a/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go index 2f62f0b0..2d11a372 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -13,9 +13,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // QuorumSpec is the interface of quorum functions for ZorumsService. diff --git a/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go index 8cb5d330..8d87bde6 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // QuorumCall plain. diff --git a/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go index a2f2f0ac..acde97e9 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -13,9 +13,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // GRPCCall plain gRPC call; testing that Gorums can ignore these, but that diff --git a/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go index 0a60d9b5..3c8c123d 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // ZorumsService is the server-side API for the ZorumsService Service diff --git a/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go index bcfe30d3..c9906e3c 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -13,9 +13,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) type internalEmpty struct { diff --git a/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go index dc5a4d23..e1a084f5 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: zorums.proto package dev @@ -14,9 +14,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // Unicast is a quorum call invoked on all nodes in configuration c, diff --git a/doc/release-guide.md b/doc/release-guide.md index 0eddf1d2..cf71f45d 100644 --- a/doc/release-guide.md +++ b/doc/release-guide.md @@ -12,6 +12,7 @@ To cut a release you will need additional tools: 1. Check and upgrade dependencies: ```shell + % git switch -c meling/issueXXX/v0.4.0-devel % make tools % protoc --version libprotoc 3.15.6 @@ -38,7 +39,7 @@ To cut a release you will need additional tools: 3. Edit `internal/version/version.go` -4. Edit `version.go` +4. Edit `version.go` (`MinVersion` should be kept as is, since otherwise `make dev` below will fail) 5. Install new version of `protoc-gen-gorums`: @@ -48,7 +49,9 @@ To cut a release you will need additional tools: protoc-gen-gorums v0.4.0-devel ``` -6. Recompile `_gorums.pb.go` files: +6. Now `version.go` can be updated to reflect the new version number, if necessary. + +7. Recompile `_gorums.pb.go` files: ```shell % make -B @@ -59,45 +62,37 @@ To cut a release you will need additional tools: % cd .. ``` -7. Run tests: +8. Run tests: ```shell % make test % make testrace ``` -8. Edit gorums dependency to be v0.4.0 in example/go.mod: +9. Edit gorums dependency to be v0.4.0 in example/go.mod: ```shell % vim examples/go.mod ``` -9. Add and commit changes due to upgrades and recompilation: +10. Add and commit changes due to upgrades and recompilation: ```shell % git add % git commit -m "Gorums release v0.4.0" - # Synchronize master branch - % git push + % gh pr create --title "Gorums release v0.4.0" ``` -10. Publish the release with release notes: +11. Publish the release with release notes: ```shell # Prepare release notes in release-notes.md % gh release create v0.4.0 --prerelease -F release-notes.md --title "Main changes in release" ``` - Without the `gh` tool: - - ```shell - % git tag v0.4.0 - % git push origin v0.4.0 - ``` - Now other projects can depend on `v0.4.0` of `github.com/relab/gorums`. -11. To check that the new version is available (after a bit of time): +12. To check that the new version is available (after a bit of time): ```shell % go list -m github.com/relab/gorums@v0.4.0 diff --git a/examples/go.sum b/examples/go.sum index 158ee518..0de3f77e 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -36,15 +36,9 @@ golang.org/x/tools v0.29.0 h1:Xx0h3TtM9rzQpQuR4dKLrdglAmCEN5Oi+P74JdhdzXE= golang.org/x/tools v0.29.0/go.mod h1:KMQVMRsVxU6nHCFXrBPhDB8XncLNLM0lIy/F14RP588= google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f h1:OxYkA3wjPsZyBylwymxSHa7ViiW1Sml4ToBrncvFehI= google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f/go.mod h1:+2Yz8+CLJbIfL9z73EW45avw8Lmge3xVElCP9zEKi50= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250127172529-29210b9bc287 h1:J1H9f+LEdWAfHcez/4cvaVBox7cOYT+IU6rgqj5x++8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250127172529-29210b9bc287/go.mod h1:8BS3B93F/U1juMFq9+EDk+qOT5CO1R9IzXxG3PTqiRk= google.golang.org/grpc v1.69.4 h1:MF5TftSMkd8GLw/m0KM6V8CMOCY6NZ1NQDPGFgbTt4A= google.golang.org/grpc v1.69.4/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= -google.golang.org/grpc v1.70.0 h1:pWFv03aZoHzlRKHWicjsZytKAiYCtNS0dHbXnIdq7jQ= -google.golang.org/grpc v1.70.0/go.mod h1:ofIJqVKDXx/JiXrwr2IG4/zwdH9txy3IlF40RmcJSQw= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 h1:F29+wU6Ee6qgu9TddPgooOdaqsxTMunOoj8KA5yuS5A= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1/go.mod h1:5KF+wpkbTSbGcR9zteSqZV6fqFOWBl4Yde8En8MryZA= google.golang.org/protobuf v1.36.3 h1:82DV7MYdb8anAVi3qge1wSnMDrnKK7ebr+I0hHRN1BU= google.golang.org/protobuf v1.36.3/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.4 h1:6A3ZDJHn/eNqc1i+IdefRzy/9PokBTPvcqMySR7NNIM= -google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= diff --git a/examples/storage/proto/storage.pb.go b/examples/storage/proto/storage.pb.go index 3e4cc623..7f5da688 100644 --- a/examples/storage/proto/storage.pb.go +++ b/examples/storage/proto/storage.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc v5.29.3 // source: storage/proto/storage.proto package proto diff --git a/examples/storage/proto/storage_gorums.pb.go b/examples/storage/proto/storage_gorums.pb.go index 75878f8f..2c7bd18a 100644 --- a/examples/storage/proto/storage_gorums.pb.go +++ b/examples/storage/proto/storage_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: storage/proto/storage.proto package proto @@ -17,9 +17,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/gorums.pb.go b/gorums.pb.go index b13fe39e..b25f1ed2 100644 --- a/gorums.pb.go +++ b/gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: gorums.proto package gorums @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -113,7 +114,7 @@ var ( var File_gorums_proto protoreflect.FileDescriptor -var file_gorums_proto_rawDesc = []byte{ +var file_gorums_proto_rawDesc = string([]byte{ 0x0a, 0x0c, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, @@ -153,7 +154,7 @@ var file_gorums_proto_rawDesc = []byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x62, 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var file_gorums_proto_goTypes = []any{ (*descriptorpb.MethodOptions)(nil), // 0: google.protobuf.MethodOptions @@ -183,7 +184,7 @@ func file_gorums_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_gorums_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_gorums_proto_rawDesc), len(file_gorums_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 8, @@ -194,7 +195,6 @@ func file_gorums_proto_init() { ExtensionInfos: file_gorums_proto_extTypes, }.Build() File_gorums_proto = out.File - file_gorums_proto_rawDesc = nil file_gorums_proto_goTypes = nil file_gorums_proto_depIdxs = nil } diff --git a/internal/correctable/opts.pb.go b/internal/correctable/opts.pb.go index 0a87c360..3d89e112 100644 --- a/internal/correctable/opts.pb.go +++ b/internal/correctable/opts.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: internal/correctable/opts.proto package correctable @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -49,7 +50,7 @@ var ( var File_internal_correctable_opts_proto protoreflect.FileDescriptor -var file_internal_correctable_opts_proto_rawDesc = []byte{ +var file_internal_correctable_opts_proto_rawDesc = string([]byte{ 0x0a, 0x1f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x20, @@ -69,7 +70,7 @@ var file_internal_correctable_opts_proto_rawDesc = []byte{ 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var file_internal_correctable_opts_proto_goTypes = []any{ (*descriptorpb.MethodOptions)(nil), // 0: google.protobuf.MethodOptions @@ -93,7 +94,7 @@ func file_internal_correctable_opts_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_internal_correctable_opts_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_correctable_opts_proto_rawDesc), len(file_internal_correctable_opts_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 2, @@ -104,7 +105,6 @@ func file_internal_correctable_opts_proto_init() { ExtensionInfos: file_internal_correctable_opts_proto_extTypes, }.Build() File_internal_correctable_opts_proto = out.File - file_internal_correctable_opts_proto_rawDesc = nil file_internal_correctable_opts_proto_goTypes = nil file_internal_correctable_opts_proto_depIdxs = nil } diff --git a/internal/version/version.go b/internal/version/version.go index 133d654b..d70f30bf 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -11,7 +11,7 @@ import ( // Steps for cutting a new release is described in doc/release-guide.md. const ( Major = 0 - Minor = 7 + Minor = 8 Patch = 0 PreRelease = "devel" ) @@ -19,6 +19,7 @@ const ( // String formats the version string for this module in semver format. // // Examples: +// // v1.20.1 // v1.21.0-rc.1 func String() string { diff --git a/ordering/ordering.pb.go b/ordering/ordering.pb.go index f22a2baf..235dcec8 100644 --- a/ordering/ordering.pb.go +++ b/ordering/ordering.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: ordering/ordering.proto package ordering @@ -11,6 +11,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -120,7 +121,7 @@ func (b0 Metadata_builder) Build() *Metadata { var File_ordering_ordering_proto protoreflect.FileDescriptor -var file_ordering_ordering_proto_rawDesc = []byte{ +var file_ordering_ordering_proto_rawDesc = string([]byte{ 0x0a, 0x17, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, @@ -140,7 +141,7 @@ var file_ordering_ordering_proto_rawDesc = []byte{ 0x61, 0x62, 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var file_ordering_ordering_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_ordering_ordering_proto_goTypes = []any{ @@ -167,7 +168,7 @@ func file_ordering_ordering_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ordering_ordering_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_ordering_ordering_proto_rawDesc), len(file_ordering_ordering_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -178,7 +179,6 @@ func file_ordering_ordering_proto_init() { MessageInfos: file_ordering_ordering_proto_msgTypes, }.Build() File_ordering_ordering_proto = out.File - file_ordering_ordering_proto_rawDesc = nil file_ordering_ordering_proto_goTypes = nil file_ordering_ordering_proto_depIdxs = nil } diff --git a/ordering/ordering_grpc.pb.go b/ordering/ordering_grpc.pb.go index 385adba9..44271a0a 100644 --- a/ordering/ordering_grpc.pb.go +++ b/ordering/ordering_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.2 +// - protoc v5.29.3 // source: ordering/ordering.proto package ordering diff --git a/tests/config/config.pb.go b/tests/config/config.pb.go index 15ac7ef9..24676861 100644 --- a/tests/config/config.pb.go +++ b/tests/config/config.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: config/config.proto package config @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -119,7 +120,7 @@ func (x *Response) GetNum() uint64 { var File_config_config_proto protoreflect.FileDescriptor -var file_config_config_proto_rawDesc = []byte{ +var file_config_config_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x0c, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x07, 0x52, @@ -136,16 +137,16 @@ var file_config_config_proto_rawDesc = []byte{ 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_config_config_proto_rawDescOnce sync.Once - file_config_config_proto_rawDescData = file_config_config_proto_rawDesc + file_config_config_proto_rawDescData []byte ) func file_config_config_proto_rawDescGZIP() []byte { file_config_config_proto_rawDescOnce.Do(func() { - file_config_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_config_proto_rawDescData) + file_config_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_config_config_proto_rawDesc), len(file_config_config_proto_rawDesc))) }) return file_config_config_proto_rawDescData } @@ -174,7 +175,7 @@ func file_config_config_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_config_config_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_config_config_proto_rawDesc), len(file_config_config_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -185,7 +186,6 @@ func file_config_config_proto_init() { MessageInfos: file_config_config_proto_msgTypes, }.Build() File_config_config_proto = out.File - file_config_config_proto_rawDesc = nil file_config_config_proto_goTypes = nil file_config_config_proto_depIdxs = nil } diff --git a/tests/config/config_gorums.pb.go b/tests/config/config_gorums.pb.go index a173eca9..72b01212 100644 --- a/tests/config/config_gorums.pb.go +++ b/tests/config/config_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: config/config.proto package config @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/correctable/correctable.pb.go b/tests/correctable/correctable.pb.go index d153562f..f2047abf 100644 --- a/tests/correctable/correctable.pb.go +++ b/tests/correctable/correctable.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: correctable/correctable.proto package correctable @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -103,7 +104,7 @@ func (x *CorrectableResponse) GetLevel() int32 { var File_correctable_correctable_proto protoreflect.FileDescriptor -var file_correctable_correctable_proto_rawDesc = []byte{ +var file_correctable_correctable_proto_rawDesc = string([]byte{ 0x0a, 0x1d, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x0c, 0x67, 0x6f, @@ -129,16 +130,16 @@ var file_correctable_correctable_proto_rawDesc = []byte{ 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_correctable_correctable_proto_rawDescOnce sync.Once - file_correctable_correctable_proto_rawDescData = file_correctable_correctable_proto_rawDesc + file_correctable_correctable_proto_rawDescData []byte ) func file_correctable_correctable_proto_rawDescGZIP() []byte { file_correctable_correctable_proto_rawDescOnce.Do(func() { - file_correctable_correctable_proto_rawDescData = protoimpl.X.CompressGZIP(file_correctable_correctable_proto_rawDescData) + file_correctable_correctable_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_correctable_correctable_proto_rawDesc), len(file_correctable_correctable_proto_rawDesc))) }) return file_correctable_correctable_proto_rawDescData } @@ -169,7 +170,7 @@ func file_correctable_correctable_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_correctable_correctable_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_correctable_correctable_proto_rawDesc), len(file_correctable_correctable_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -180,7 +181,6 @@ func file_correctable_correctable_proto_init() { MessageInfos: file_correctable_correctable_proto_msgTypes, }.Build() File_correctable_correctable_proto = out.File - file_correctable_correctable_proto_rawDesc = nil file_correctable_correctable_proto_goTypes = nil file_correctable_correctable_proto_depIdxs = nil } diff --git a/tests/correctable/correctable_gorums.pb.go b/tests/correctable/correctable_gorums.pb.go index a918f80f..79485afc 100644 --- a/tests/correctable/correctable_gorums.pb.go +++ b/tests/correctable/correctable_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: correctable/correctable.proto package correctable @@ -18,9 +18,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/dummy/dummy.pb.go b/tests/dummy/dummy.pb.go index 7ef7db97..93525796 100644 --- a/tests/dummy/dummy.pb.go +++ b/tests/dummy/dummy.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: dummy/dummy.proto package dummy @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -58,7 +59,7 @@ func (*Empty) Descriptor() ([]byte, []int) { var File_dummy_dummy_proto protoreflect.FileDescriptor -var file_dummy_dummy_proto_rawDesc = []byte{ +var file_dummy_dummy_proto_rawDesc = string([]byte{ 0x0a, 0x11, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x2f, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0x2d, 0x0a, 0x05, 0x44, 0x75, 0x6d, 0x6d, 0x79, 0x12, 0x24, 0x0a, 0x04, @@ -68,16 +69,16 @@ var file_dummy_dummy_proto_rawDesc = []byte{ 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x62, 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_dummy_dummy_proto_rawDescOnce sync.Once - file_dummy_dummy_proto_rawDescData = file_dummy_dummy_proto_rawDesc + file_dummy_dummy_proto_rawDescData []byte ) func file_dummy_dummy_proto_rawDescGZIP() []byte { file_dummy_dummy_proto_rawDescOnce.Do(func() { - file_dummy_dummy_proto_rawDescData = protoimpl.X.CompressGZIP(file_dummy_dummy_proto_rawDescData) + file_dummy_dummy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dummy_dummy_proto_rawDesc), len(file_dummy_dummy_proto_rawDesc))) }) return file_dummy_dummy_proto_rawDescData } @@ -105,7 +106,7 @@ func file_dummy_dummy_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dummy_dummy_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dummy_dummy_proto_rawDesc), len(file_dummy_dummy_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -116,7 +117,6 @@ func file_dummy_dummy_proto_init() { MessageInfos: file_dummy_dummy_proto_msgTypes, }.Build() File_dummy_dummy_proto = out.File - file_dummy_dummy_proto_rawDesc = nil file_dummy_dummy_proto_goTypes = nil file_dummy_dummy_proto_depIdxs = nil } diff --git a/tests/dummy/dummy_gorums.pb.go b/tests/dummy/dummy_gorums.pb.go index a9058a01..5a0e3a3a 100644 --- a/tests/dummy/dummy_gorums.pb.go +++ b/tests/dummy/dummy_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: dummy/dummy.proto package dummy @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/metadata/metadata.pb.go b/tests/metadata/metadata.pb.go index 05e67ad1..20058ee1 100644 --- a/tests/metadata/metadata.pb.go +++ b/tests/metadata/metadata.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: metadata/metadata.proto package metadata @@ -12,6 +12,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -111,7 +112,7 @@ func (x *IPAddr) GetAddr() string { var File_metadata_metadata_proto protoreflect.FileDescriptor -var file_metadata_metadata_proto_rawDesc = []byte{ +var file_metadata_metadata_proto_rawDesc = string([]byte{ 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, @@ -132,16 +133,16 @@ var file_metadata_metadata_proto_rawDesc = []byte{ 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_metadata_metadata_proto_rawDescOnce sync.Once - file_metadata_metadata_proto_rawDescData = file_metadata_metadata_proto_rawDesc + file_metadata_metadata_proto_rawDescData []byte ) func file_metadata_metadata_proto_rawDescGZIP() []byte { file_metadata_metadata_proto_rawDescOnce.Do(func() { - file_metadata_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_metadata_metadata_proto_rawDescData) + file_metadata_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_metadata_metadata_proto_rawDesc), len(file_metadata_metadata_proto_rawDesc))) }) return file_metadata_metadata_proto_rawDescData } @@ -173,7 +174,7 @@ func file_metadata_metadata_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_metadata_metadata_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_metadata_metadata_proto_rawDesc), len(file_metadata_metadata_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -184,7 +185,6 @@ func file_metadata_metadata_proto_init() { MessageInfos: file_metadata_metadata_proto_msgTypes, }.Build() File_metadata_metadata_proto = out.File - file_metadata_metadata_proto_rawDesc = nil file_metadata_metadata_proto_goTypes = nil file_metadata_metadata_proto_depIdxs = nil } diff --git a/tests/metadata/metadata_gorums.pb.go b/tests/metadata/metadata_gorums.pb.go index bd775101..7f585aa4 100644 --- a/tests/metadata/metadata_gorums.pb.go +++ b/tests/metadata/metadata_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: metadata/metadata.proto package metadata @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/oneway/oneway.pb.go b/tests/oneway/oneway.pb.go index 18c78284..f4fa6319 100644 --- a/tests/oneway/oneway.pb.go +++ b/tests/oneway/oneway.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: oneway/oneway.proto package oneway @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -103,7 +104,7 @@ func (*Empty) Descriptor() ([]byte, []int) { var File_oneway_oneway_proto protoreflect.FileDescriptor -var file_oneway_oneway_proto_rawDesc = []byte{ +var file_oneway_oneway_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x1a, 0x0c, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x07, 0x52, @@ -124,16 +125,16 @@ var file_oneway_oneway_proto_rawDesc = []byte{ 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x62, 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x6f, 0x6e, 0x65, 0x77, 0x61, 0x79, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_oneway_oneway_proto_rawDescOnce sync.Once - file_oneway_oneway_proto_rawDescData = file_oneway_oneway_proto_rawDesc + file_oneway_oneway_proto_rawDescData []byte ) func file_oneway_oneway_proto_rawDescGZIP() []byte { file_oneway_oneway_proto_rawDescOnce.Do(func() { - file_oneway_oneway_proto_rawDescData = protoimpl.X.CompressGZIP(file_oneway_oneway_proto_rawDescData) + file_oneway_oneway_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_oneway_oneway_proto_rawDesc), len(file_oneway_oneway_proto_rawDesc))) }) return file_oneway_oneway_proto_rawDescData } @@ -166,7 +167,7 @@ func file_oneway_oneway_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_oneway_oneway_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_oneway_oneway_proto_rawDesc), len(file_oneway_oneway_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -177,7 +178,6 @@ func file_oneway_oneway_proto_init() { MessageInfos: file_oneway_oneway_proto_msgTypes, }.Build() File_oneway_oneway_proto = out.File - file_oneway_oneway_proto_rawDesc = nil file_oneway_oneway_proto_goTypes = nil file_oneway_oneway_proto_depIdxs = nil } diff --git a/tests/oneway/oneway_gorums.pb.go b/tests/oneway/oneway_gorums.pb.go index f183a1fc..ce524ce3 100644 --- a/tests/oneway/oneway_gorums.pb.go +++ b/tests/oneway/oneway_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: oneway/oneway.proto package oneway @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/ordering/order.pb.go b/tests/ordering/order.pb.go index 72d18e8a..80f392e6 100644 --- a/tests/ordering/order.pb.go +++ b/tests/ordering/order.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: ordering/order.proto package ordering @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -111,7 +112,7 @@ func (x *Response) GetInOrder() bool { var File_ordering_order_proto protoreflect.FileDescriptor -var file_ordering_order_proto_rawDesc = []byte{ +var file_ordering_order_proto_rawDesc = string([]byte{ 0x0a, 0x14, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x1a, 0x0c, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, @@ -134,16 +135,16 @@ var file_ordering_order_proto_rawDesc = []byte{ 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x62, 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_ordering_order_proto_rawDescOnce sync.Once - file_ordering_order_proto_rawDescData = file_ordering_order_proto_rawDesc + file_ordering_order_proto_rawDescData []byte ) func file_ordering_order_proto_rawDescGZIP() []byte { file_ordering_order_proto_rawDescOnce.Do(func() { - file_ordering_order_proto_rawDescData = protoimpl.X.CompressGZIP(file_ordering_order_proto_rawDescData) + file_ordering_order_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ordering_order_proto_rawDesc), len(file_ordering_order_proto_rawDesc))) }) return file_ordering_order_proto_rawDescData } @@ -176,7 +177,7 @@ func file_ordering_order_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ordering_order_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_ordering_order_proto_rawDesc), len(file_ordering_order_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -187,7 +188,6 @@ func file_ordering_order_proto_init() { MessageInfos: file_ordering_order_proto_msgTypes, }.Build() File_ordering_order_proto = out.File - file_ordering_order_proto_rawDesc = nil file_ordering_order_proto_goTypes = nil file_ordering_order_proto_depIdxs = nil } diff --git a/tests/ordering/order_gorums.pb.go b/tests/ordering/order_gorums.pb.go index 05cfddf4..992a19cb 100644 --- a/tests/ordering/order_gorums.pb.go +++ b/tests/ordering/order_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: ordering/order.proto package ordering @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/qf/qf.pb.go b/tests/qf/qf.pb.go index 6da39825..b61d2711 100644 --- a/tests/qf/qf.pb.go +++ b/tests/qf/qf.pb.go @@ -2,8 +2,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: qf/qf.proto package qf @@ -14,6 +14,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -113,7 +114,7 @@ func (x *Response) GetResult() int64 { var File_qf_qf_proto protoreflect.FileDescriptor -var file_qf_qf_proto_rawDesc = []byte{ +var file_qf_qf_proto_rawDesc = string([]byte{ 0x0a, 0x0b, 0x71, 0x66, 0x2f, 0x71, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x71, 0x66, 0x1a, 0x0c, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, @@ -131,16 +132,16 @@ var file_qf_qf_proto_rawDesc = []byte{ 0x6c, 0x61, 0x62, 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x71, 0x66, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_qf_qf_proto_rawDescOnce sync.Once - file_qf_qf_proto_rawDescData = file_qf_qf_proto_rawDesc + file_qf_qf_proto_rawDescData []byte ) func file_qf_qf_proto_rawDescGZIP() []byte { file_qf_qf_proto_rawDescOnce.Do(func() { - file_qf_qf_proto_rawDescData = protoimpl.X.CompressGZIP(file_qf_qf_proto_rawDescData) + file_qf_qf_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_qf_qf_proto_rawDesc), len(file_qf_qf_proto_rawDesc))) }) return file_qf_qf_proto_rawDescData } @@ -171,7 +172,7 @@ func file_qf_qf_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_qf_qf_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_qf_qf_proto_rawDesc), len(file_qf_qf_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -182,7 +183,6 @@ func file_qf_qf_proto_init() { MessageInfos: file_qf_qf_proto_msgTypes, }.Build() File_qf_qf_proto = out.File - file_qf_qf_proto_rawDesc = nil file_qf_qf_proto_goTypes = nil file_qf_qf_proto_depIdxs = nil } diff --git a/tests/qf/qf_gorums.pb.go b/tests/qf/qf_gorums.pb.go index 9b137da3..e14766be 100644 --- a/tests/qf/qf_gorums.pb.go +++ b/tests/qf/qf_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: qf/qf.proto package qf @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/tls/tls.pb.go b/tests/tls/tls.pb.go index e7b3fec7..78345b12 100644 --- a/tests/tls/tls.pb.go +++ b/tests/tls/tls.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: tls/tls.proto package tls @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -102,7 +103,7 @@ func (x *Response) GetOK() bool { var File_tls_tls_proto protoreflect.FileDescriptor -var file_tls_tls_proto_rawDesc = []byte{ +var file_tls_tls_proto_rawDesc = string([]byte{ 0x0a, 0x0d, 0x74, 0x6c, 0x73, 0x2f, 0x74, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x74, 0x6c, 0x73, 0x22, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x4f, @@ -114,16 +115,16 @@ var file_tls_tls_proto_rawDesc = []byte{ 0x2f, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x74, 0x6c, 0x73, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_tls_tls_proto_rawDescOnce sync.Once - file_tls_tls_proto_rawDescData = file_tls_tls_proto_rawDesc + file_tls_tls_proto_rawDescData []byte ) func file_tls_tls_proto_rawDescGZIP() []byte { file_tls_tls_proto_rawDescOnce.Do(func() { - file_tls_tls_proto_rawDescData = protoimpl.X.CompressGZIP(file_tls_tls_proto_rawDescData) + file_tls_tls_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_tls_tls_proto_rawDesc), len(file_tls_tls_proto_rawDesc))) }) return file_tls_tls_proto_rawDescData } @@ -152,7 +153,7 @@ func file_tls_tls_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tls_tls_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tls_tls_proto_rawDesc), len(file_tls_tls_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -163,7 +164,6 @@ func file_tls_tls_proto_init() { MessageInfos: file_tls_tls_proto_msgTypes, }.Build() File_tls_tls_proto = out.File - file_tls_tls_proto_rawDesc = nil file_tls_tls_proto_goTypes = nil file_tls_tls_proto_depIdxs = nil } diff --git a/tests/tls/tls_gorums.pb.go b/tests/tls/tls_gorums.pb.go index 11e979f1..f60cab7a 100644 --- a/tests/tls/tls_gorums.pb.go +++ b/tests/tls/tls_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: tls/tls.proto package tls @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/unresponsive/unresponsive.pb.go b/tests/unresponsive/unresponsive.pb.go index 0b180d4d..b498897f 100644 --- a/tests/unresponsive/unresponsive.pb.go +++ b/tests/unresponsive/unresponsive.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.3 -// protoc v5.29.2 +// protoc-gen-go v1.36.5 +// protoc v5.29.3 // source: unresponsive/unresponsive.proto package unresponsive @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -58,7 +59,7 @@ func (*Empty) Descriptor() ([]byte, []int) { var File_unresponsive_unresponsive_proto protoreflect.FileDescriptor -var file_unresponsive_unresponsive_proto_rawDesc = []byte{ +var file_unresponsive_unresponsive_proto_rawDesc = string([]byte{ 0x0a, 0x1f, 0x75, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x2f, 0x75, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x75, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x22, @@ -72,16 +73,16 @@ var file_unresponsive_unresponsive_proto_rawDesc = []byte{ 0x75, 0x6d, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x75, 0x6e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x92, 0x03, 0x02, 0x08, 0x02, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) var ( file_unresponsive_unresponsive_proto_rawDescOnce sync.Once - file_unresponsive_unresponsive_proto_rawDescData = file_unresponsive_unresponsive_proto_rawDesc + file_unresponsive_unresponsive_proto_rawDescData []byte ) func file_unresponsive_unresponsive_proto_rawDescGZIP() []byte { file_unresponsive_unresponsive_proto_rawDescOnce.Do(func() { - file_unresponsive_unresponsive_proto_rawDescData = protoimpl.X.CompressGZIP(file_unresponsive_unresponsive_proto_rawDescData) + file_unresponsive_unresponsive_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_unresponsive_unresponsive_proto_rawDesc), len(file_unresponsive_unresponsive_proto_rawDesc))) }) return file_unresponsive_unresponsive_proto_rawDescData } @@ -109,7 +110,7 @@ func file_unresponsive_unresponsive_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_unresponsive_unresponsive_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_unresponsive_unresponsive_proto_rawDesc), len(file_unresponsive_unresponsive_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -120,7 +121,6 @@ func file_unresponsive_unresponsive_proto_init() { MessageInfos: file_unresponsive_unresponsive_proto_msgTypes, }.Build() File_unresponsive_unresponsive_proto = out.File - file_unresponsive_unresponsive_proto_rawDesc = nil file_unresponsive_unresponsive_proto_goTypes = nil file_unresponsive_unresponsive_proto_depIdxs = nil } diff --git a/tests/unresponsive/unresponsive_gorums.pb.go b/tests/unresponsive/unresponsive_gorums.pb.go index fa6189a1..5043c29f 100644 --- a/tests/unresponsive/unresponsive_gorums.pb.go +++ b/tests/unresponsive/unresponsive_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.7.0-devel -// protoc v5.29.2 +// protoc-gen-gorums v0.8.0-devel +// protoc v5.29.3 // source: unresponsive/unresponsive.proto package unresponsive @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(7 - gorums.MinVersion) + _ = gorums.EnforceVersion(8 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 7) + _ = gorums.EnforceVersion(gorums.MaxVersion - 8) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/version.go b/version.go index 2225fe2c..2ceb36c6 100644 --- a/version.go +++ b/version.go @@ -10,7 +10,7 @@ const ( // GenVersion is the runtime version required by generated .pb.go files. // This is incremented when generated code relies on new functionality // in the runtime. - GenVersion = 7 + GenVersion = 8 // MinVersion is the minimum supported version for generated .pb.go files. // This is incremented when the runtime drops support for old code. @@ -20,16 +20,19 @@ const ( // EnforceVersion is used by code generated by protoc-gen-gorums // to statically enforce minimum and maximum versions of this package. // A compilation failure implies either that: -// * the runtime package is too old and needs to be updated OR -// * the generated code is too old and needs to be regenerated. +// - the runtime package is too old and needs to be updated OR +// - the generated code is too old and needs to be regenerated. // // The runtime package can be upgraded by running: +// // go get github.com/relab/gorums // // The generated code can be regenerated by running: +// // protoc --gorums_out=${PROTOC_GEN_GORUMS_ARGS} ${PROTO_FILES} // // Example usage by generated code: +// // const ( // // Verify that this generated code is sufficiently up-to-date. // _ = gorums.EnforceVersion(genVersion - gorums.MinVersion) @@ -43,6 +46,7 @@ const ( type EnforceVersion uint // This enforces the following invariant: +// // MinVersion ≤ GenVersion ≤ MaxVersion const ( _ = EnforceVersion(GenVersion - MinVersion)