]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
db: VersionEdit can understand the format introduced in PR 3488.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 21 Aug 2018 19:47:48 +0000 (21:47 +0200)
committerIgor Fedotov <ifedotov@suse.com>
Fri, 8 Nov 2019 12:02:57 +0000 (15:02 +0300)
commit221b6a7e2bbba2799bc376be6a20db01a0afc66b
treee58659a7f3c8709368c07fe9615b422cb8543601
parentad67a03c319dbc42d4cdb4f981d061bde70537a5
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