]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Disallow ingesting files into dropped CFs
authorIslam AbdelRahman <tec@fb.com>
Tue, 13 Dec 2016 08:47:52 +0000 (00:47 -0800)
committerIslam AbdelRahman <tec@fb.com>
Wed, 14 Dec 2016 21:05:06 +0000 (13:05 -0800)
commitbf152e7e48ed834b3a4a1290424bdfe35acb2791
treec48cf7526857ed44cd267117b835a21a876dff82
parentb1124fa1271a49a21dec6bbf8c88106cd881afe3
Disallow ingesting files into dropped CFs

Summary:
This PR update IngestExternalFile to return an error if we try to ingest a file into a dropped CF.

Right now if IngestExternalFile want to flush a memtable, and it's ingesting a file into a dropped CF, it will wait forever since flushing is not possible for the dropped CF
Closes https://github.com/facebook/rocksdb/pull/1657

Differential Revision: D4318657

Pulled By: IslamAbdelRahman

fbshipit-source-id: ed6ea2b
db/db_impl.cc
db/external_sst_file_test.cc