]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Return error if trying to open secondary on missing or inaccessible primary (#8200)
authorYanqin Jin <yanqin@fb.com>
Thu, 22 Jul 2021 22:47:35 +0000 (15:47 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 22 Jul 2021 22:48:58 +0000 (15:48 -0700)
commit2e5388178fcfcf0f7cbf051b0878e53c3236561a
tree09b65f391b034a412b25cc62b06c63995a746723
parentc4a503f3dfc297dadaf0912dbeb801bb1059b5eb
Return error if trying to open secondary on missing or inaccessible primary (#8200)

Summary:
If the primary's CURRENT file is missing or inaccessible, the secondary should not hang
trying repeatedly to switch to the next MANIFEST.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8200

Test Plan: make check

Reviewed By: jay-zhuang

Differential Revision: D27840627

Pulled By: riversand963

fbshipit-source-id: 071fed97cbab1bc5cdefd1dc235e5cd406c174e1
HISTORY.md
db/db_impl/db_impl_open.cc
db/db_impl/db_impl_secondary.cc
db/db_secondary_test.cc
db/version_set.cc