Skip to content

Commit

Permalink
[RocksDB Options] Support more options in RocksDBOptionParser for san…
Browse files Browse the repository at this point in the history
…ity check.

Summary:
RocksDBOptionsParser now supports CompressionType and the following
pointer-typed options in RocksDBOptionParser
for sanity check:
  prefix_extractor
  table_factory
  comparator
  compaction_filter
  compaction_filter_factory
  merge_operator
  memtable_factory

In the RocksDB Options file, only high level information about pointer-typed
options are serialized, and those information is only used for verification
/ sanity check purpose.

Test Plan: added more tests in options_test

Reviewers: igor, IslamAbdelRahman, sdong, anthony

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D47925
  • Loading branch information
yhchiang committed Oct 2, 2015
1 parent 115427e commit 5c7bf56
Show file tree
Hide file tree
Showing 6 changed files with 623 additions and 108 deletions.
Loading

0 comments on commit 5c7bf56

Please sign in to comment.