PutBlock saves a block on only the first available volume (refs #2292)
authorTim Pierce <twp@curoverse.com>
Fri, 4 Apr 2014 19:42:13 +0000 (15:42 -0400)
committerTim Pierce <twp@curoverse.com>
Fri, 4 Apr 2014 19:42:13 +0000 (15:42 -0400)
commit92f572b9c49ecbdd8f2884e52fa8e814e23daab8
tree8087a6bd130e79916835ca84c98e8c94fba16f63
parentf6b24b30e9f3794943f628c22ee4dabcadca5a1a
PutBlock saves a block on only the first available volume (refs #2292)

Per code review: Keep stores a block on only one disk at a time.
Updated PutBlock, and PutBlock/GetBlock unit tests, appropriately.
services/keep/keep.go
services/keep/keep_test.go