MB-19635: Initialise failovers correctly from 2.5.x vbstate 55/64155/2
authorJim Walker <jim@couchbase.com>
Tue, 17 May 2016 16:41:10 +0000 (17:41 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 18 May 2016 11:14:16 +0000 (11:14 +0000)
commitcb9308cc24a0e6a91c8adda859c2722d3d0a0729
tree241e0ee821ce935abcd8d0f46c35b7adb60a0854
parentd4bd08b8bac570010c39e16d4f3c8ac511f2ed7f
MB-19635: Initialise failovers correctly from 2.5.x vbstate

When loading a vb file, don't force the failover table data
to be ("[{\"id\":0,\"seq\":0}]"); if the file doesn't contain
any data.

Change-Id: I41673bf848fcbab9b616edec5c7fd2ab9a3ddd6b
Reviewed-on: http://review.couchbase.org/64155
Well-Formed: buildbot <build@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
CMakeLists.txt
src/couch-kvstore/couch-kvstore.cc
tests/ep_testsuite.cc