mirror of
https://github.com/minio/minio.git
synced 2025-01-12 07:23:23 -05:00
Bump RPC version after ReadFile RPC arguments change (#6457)
ReadFile RPC input argument has been changed in commit a8f5939452959d27674560c6b803daa9, however, RPC doesn't detect such a change when it calls other nodes with older versions. Hence, bumping RPC version. Fixes #6458
This commit is contained in:
parent
0c2b708484
commit
ce419c9835
@ -206,8 +206,9 @@ var (
|
|||||||
// RPC V1 - Initial version
|
// RPC V1 - Initial version
|
||||||
// RPC V2 - format.json XL version changed to 2
|
// RPC V2 - format.json XL version changed to 2
|
||||||
// RPC V3 - format.json XL version changed to 3
|
// RPC V3 - format.json XL version changed to 3
|
||||||
|
// RPC V4 - ReadFile() arguments signature changed
|
||||||
// Current RPC version
|
// Current RPC version
|
||||||
globalRPCAPIVersion = RPCVersion{3, 0, 0}
|
globalRPCAPIVersion = RPCVersion{4, 0, 0}
|
||||||
|
|
||||||
// Allocated etcd endpoint for config and bucket DNS.
|
// Allocated etcd endpoint for config and bucket DNS.
|
||||||
globalEtcdClient *etcd.Client
|
globalEtcdClient *etcd.Client
|
||||||
|
Loading…
Reference in New Issue
Block a user