]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
db: VersionEdit can understand the format introduced in PR 3488. ceph-nautilus
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 21 Aug 2018 19:47:48 +0000 (21:47 +0200)
committerKefu Chai <tchaikov@gmail.com>
Thu, 15 Nov 2018 08:40:16 +0000 (16:40 +0800)
commit37828c548a886dccf58a7a93fc2ce13877884c0c
treea288817aa95362f6b93742316631dfdb96dc9714
parentf438b98e552010613cff8684a7d84191ed785148
db: VersionEdit can understand the format introduced in PR 3488.

RocksDB's PR 3488 introduced a new format of `VersionEdit`
encoding which is not understandable for older versions.
Thus, the change broke forward compatibility and has been
reverted in PR 3762. Later, PR 3765 reiterated the concept
but in a way that does not provide compatibility with the very
short-living format of PR 3488.

This change tries to address the issue of accessing DBs
in format of 3488 by ignoring the special entries.

Fixes: http://tracker.ceph.com/issues/25146
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
db/version_edit.cc