Detect peer reboots to invalidate current storage REST clients (#7227)

This commit is contained in:
Krishna Srinivas
2019-02-13 15:29:46 -08:00
committed by kannappanr
parent 6f764a8efd
commit 90213ff1b2
3 changed files with 70 additions and 20 deletions

View File

@@ -36,6 +36,7 @@ const (
storageRESTMethodListDir = "listdir"
storageRESTMethodDeleteFile = "deletefile"
storageRESTMethodRenameFile = "renamefile"
storageRESTMethodGetInstanceID = "getinstanceid"
)
const (
@@ -51,4 +52,5 @@ const (
storageRESTCount = "count"
storageRESTBitrotAlgo = "bitrot-algo"
storageRESTBitrotHash = "bitrot-hash"
storageRESTInstanceID = "instance-id"
)