]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
StackableDB optionally take shared ownership of the underlying DB
authorYi Wu <yiwu@fb.com>
Fri, 26 Jan 2018 23:12:16 +0000 (15:12 -0800)
committerYi Wu <yiwu@fb.com>
Tue, 30 Jan 2018 19:12:37 +0000 (11:12 -0800)
commitd91f420dd9b3fbdbb792502a61b74911a46fdad0
treee6e8a6078f6cbe286f35f142d42363f7149bcbed
parent1454a5ccfec15947e282cf86ed526ba63ab72188
StackableDB optionally take shared ownership of the underlying DB

Summary:
Allow StackableDB optionally takes a shared_ptr on construction and thus hold shared ownership of the underlying DB.
Closes https://github.com/facebook/rocksdb/pull/3423

Differential Revision: D6824163

Pulled By: yiwu-arbug

fbshipit-source-id: dbdc30c42e007533a987ef413785e192340f03eb
include/rocksdb/utilities/stackable_db.h