]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Make max_dict_bytes optional in options string
authorAndrew Kryczka <andrewkr@fb.com>
Fri, 6 May 2016 18:27:28 +0000 (11:27 -0700)
committerAndrew Kryczka <andrewkr@fb.com>
Fri, 6 May 2016 18:39:26 +0000 (11:39 -0700)
commit53a86bf61e3598fc91bb5d8d3d5b9ee06ccab102
tree7f69c19c5e23554ddf46f4305395c17dd5a19bc7
parent8a5ec0ec6fd4740f9415aa63a1403ee3774f816b
Make max_dict_bytes optional in options string

Summary:
For backwards compatibility with older option strings, the parser needs
to treat this argument as optional.

Test Plan:
Updated unit test to cover case where compression_opts is present but
max_dict_bytes is omitted.

Reviewers: MarkCallaghan, sdong, IslamAbdelRahman

Reviewed By: IslamAbdelRahman

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D57759
util/options_helper.cc
util/options_test.cc