]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix ldb --try_load_options doesn't use customized Env (#8929)
authorsdong <siying.d@fb.com>
Fri, 17 Sep 2021 21:43:53 +0000 (14:43 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 17 Sep 2021 22:26:27 +0000 (15:26 -0700)
commitba48ff8303aad3bcfdae070191dfe587d2720d44
tree142f4390e28e1a250c742bb5a6381c66cf0ef0f2
parent4149d044cd3c30384e5f9a7ba5407eeac5244c71
Fix ldb --try_load_options doesn't use customized Env (#8929)

Summary:
As title. The reason is that after loading customized options, the env is not set back to the correct one. Fix it.

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

Test Plan: Manually validate in an environment where the command failed.

Reviewed By: riversand963

Differential Revision: D31026931

fbshipit-source-id: c25dc788bf80ed5bf4b24922c442781943bcd65b
tools/ldb_cmd.cc