Revision 0a17d95357478abb64213bba426d25996bd2307a authored by mrambacher on 03 June 2020, 19:19:54 UTC, committed by Facebook GitHub Bot on 03 June 2020, 19:23:07 UTC
Summary:
The OptionTypeInfo::Vector method allows a vector<T> to be converted to/from strings via the options.

The kVectorInt and kVectorCompressionType vectors were replaced with this methodology.

As part of this change, the NextToken method was added to the OptionTypeInfo.  This method was refactored from code within the StringToMap function.

Future types that could use this functionality include the EventListener vectors.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6424

Reviewed By: cheng-chang

Differential Revision: D21832368

Pulled By: zhichao-cao

fbshipit-source-id: e1ca766faff139d54e6e8407a9ec09ece6517439
1 parent 172adce
History
File Mode Size
fault_injection_test_env.cc -rw-r--r-- 12.7 KB
fault_injection_test_env.h -rw-r--r-- 7.1 KB
fault_injection_test_fs.cc -rw-r--r-- 17.6 KB
fault_injection_test_fs.h -rw-r--r-- 13.0 KB
mock_time_env.h -rw-r--r-- 1.3 KB
sync_point.cc -rw-r--r-- 1.6 KB
sync_point.h -rw-r--r-- 5.6 KB
sync_point_impl.cc -rw-r--r-- 3.5 KB
sync_point_impl.h -rw-r--r-- 2.4 KB
testharness.cc -rw-r--r-- 1.6 KB
testharness.h -rw-r--r-- 1.5 KB
testutil.cc -rw-r--r-- 17.9 KB
testutil.h -rw-r--r-- 25.5 KB
transaction_test_util.cc -rw-r--r-- 13.1 KB
transaction_test_util.h -rw-r--r-- 4.8 KB

back to top