GitHub user guozhangwang opened a pull request: https://github.com/apache/kafka/pull/3681
KAFKA-5733: RocksDB bulk load with lower number of levels. This is to complete Bill's PR on KAFKA-5733, incorporating the suggestion in https://github.com/facebook/rocksdb/issues/2734. Some minor changes: move `open = true` in `openDB`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/guozhangwang/kafka K5733-rocksdb-bulk-load Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3681.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3681 ---- commit 2cfc54c8e77b840acc0d176cea8eabda4d1c4b03 Author: Bill Bejeck <b...@confluent.io> Date: 2017-08-14T14:46:08Z KAFKA-5733: ensure clean RocksDB directory before setting prepareForBulkload settings commit f468147455c9f8eaf640f2821b7849b7b370968d Author: Bill Bejeck <b...@confluent.io> Date: 2017-08-14T16:57:29Z KAFKA-5733: address comments commit 149634b405cd5d73ec0e27c9a55b16f9971abf1f Author: Bill Bejeck <b...@confluent.io> Date: 2017-08-14T18:20:05Z KAFKA-5733: address additional comments, enforce not opening and closing if not a clean RocksDB dir on restore commit b4cd505b5c5cb9e57df4728414b5194a65d14b1c Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-08-16T22:17:17Z Merge branch 'KAFKA-5733_rocks_db_throws_more_than_num_levels_on_restore' of https://github.com/bbejeck/kafka into K5733-rocksdb-bulk-load commit d0ada11eb8e97fbd5efdfb4c66160a81970575e4 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-08-16T22:45:16Z use compactRange to still enable bulk loading commit 08da1f16c8aeb587dd8b1ac7b5192f1ab3395cd7 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-08-16T23:53:02Z minor fixes ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---