]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
db: VersionEdit can understand the format introduced in PR 3488. ceph-reef-v7.8.fb
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 21 Aug 2018 19:47:48 +0000 (21:47 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Sun, 12 Feb 2023 23:51:44 +0000 (23:51 +0000)
commit97bc382f571ee9330d62ec00df9da3a0acf1829e
tree06578cf5a8733f3cd074a4a4a1f783de88e094a4
parentbf2c335184de16a3cc1787fa97ef9f22f7114238
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>
(cherry picked from commit ffed5e68515620e1de0b66d96d2ec15cef1c82a7)
(cherry picked from commit c540de6f709b66efd41436694f72d6f7986a325b)
db/version_edit.cc