rpc: Should validate server versions. (#2775)

Fixes #2764
This commit is contained in:
Harshavardhana
2016-09-24 03:34:45 -07:00
committed by GitHub
parent 669783f875
commit 1c941fd787
5 changed files with 25 additions and 11 deletions
-1
View File
@@ -50,7 +50,6 @@ func initDsyncNodes(disks []string, port int) error {
path: pathutil.Join(lockRPCPath, disk[idx+1:]),
loginMethod: "Dsync.LoginHandler",
}))
if isLocalStorage(disk) && myNode == -1 {
myNode = len(clnts) - 1
}