rocksdb/options
Manuel Ung 88ed1f6ea6 Allow upgrades from nullptr to some merge operator
Summary:
Currently, RocksDB does not allow reopening a preexisting DB with no merge operator defined, with a merge operator defined. This means that if a DB ever want to add a merge operator, there's no way to do so currently.

Fix this by adding a new verification type `kByNameAllowFromNull` which will allow old values to be nullptr, and new values to be non-nullptr.
Closes https://github.com/facebook/rocksdb/pull/2958

Differential Revision: D5961131

Pulled By: lth

fbshipit-source-id: 06179bebd0d90db3d43690b5eb7345e2d5bab1eb
2017-10-04 09:57:23 -07:00
..
cf_options.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cf_options.h fix some misspellings 2017-08-16 21:57:20 -07:00
db_options.cc Make bytes_per_sync and wal_bytes_per_sync mutable 2017-09-27 17:49:45 -07:00
db_options.h Make bytes_per_sync and wal_bytes_per_sync mutable 2017-09-27 17:49:45 -07:00
options_helper.cc Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
options_helper.h Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
options_parser.cc Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
options_parser.h Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
options_sanity_check.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
options_sanity_check.h Change RocksDB License 2017-07-15 16:11:23 -07:00
options_settable_test.cc WritePrepared Txn: Advance seq one per batch 2017-09-18 14:45:08 -07:00
options_test.cc Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
options.cc Use the default copy constructor in Options 2017-09-15 17:15:10 -07:00