]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
RemoteCompaction support Fallback to local compaction (#8709)
authorJay Zhuang <zjay@fb.com>
Sat, 18 Sep 2021 06:24:03 +0000 (23:24 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 18 Sep 2021 07:25:04 +0000 (00:25 -0700)
commit1c290c785dde71ed565cfa432e4f5fd1506a0717
tree96b92cf4efc77c188c760573a4fcf7c65f02faa4
parentb512f4bc766a8ea5dba271dc8df69984ccc27181
RemoteCompaction support Fallback to local compaction (#8709)

Summary:
Add support for fallback to local compaction, the user can
return `CompactionServiceJobStatus::kUseLocal` to instruct RocksDB to
run the compaction locally instead of waiting for the remote compaction
result.

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

Test Plan: unittest

Reviewed By: ajkr

Differential Revision: D30560163

Pulled By: jay-zhuang

fbshipit-source-id: 65d8905a4a1bc185a68daa120997f21d3198dbe1
HISTORY.md
db/compaction/compaction_job.cc
db/compaction/compaction_job.h
db/compaction/compaction_service_test.cc
include/rocksdb/options.h