]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
make blob file close synchronous
authorYi Wu <yiwu@fb.com>
Fri, 25 Aug 2017 17:40:25 +0000 (10:40 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 25 Aug 2017 17:41:49 +0000 (10:41 -0700)
commit503db684f72061b98d2200debafcc750b7f8de67
treec5d756b5206babe63d7dad2afd3f43483716cc26
parent3c840d1a6dc194a6dcdbf886b0438dc176804c44
make blob file close synchronous

Summary:
Fixing flaky blob_db_test.

To close a blob file, blob db used to add a CloseSeqWrite job to the background thread to close it. Changing file close to be synchronous in order to simplify logic, and fix flaky blob_db_test.
Closes https://github.com/facebook/rocksdb/pull/2787

Differential Revision: D5699387

Pulled By: yiwu-arbug

fbshipit-source-id: dd07a945cd435cd3808fce7ee4ea57817409474a
utilities/blob_db/blob_db_impl.cc
utilities/blob_db/blob_db_impl.h
utilities/blob_db/blob_db_test.cc