]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Make EventListener into a Customizable Class (#8473)
authormrambacher <mrambach@gmail.com>
Tue, 27 Jul 2021 14:46:09 +0000 (07:46 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 27 Jul 2021 14:47:02 +0000 (07:47 -0700)
commit3aee4fbd41bd05799feb9da988698ab21b6a5f32
tree1bd135f2158db54ba8b6f052cc494207e15969aa
parent9ddb55a8f62731f37a65e3c336e2ac2097fdf252
Make EventListener into a Customizable Class (#8473)

Summary:
- Added Type/CreateFromString
- Added ability to load EventListeners to DBOptions
- Since EventListeners did not previously have a Name(), defaulted to "".  If there is no name, the listener cannot be loaded from the ObjectRegistry.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8473

Reviewed By: zhichao-cao

Differential Revision: D29901488

Pulled By: mrambacher

fbshipit-source-id: 2d3a4aa6db1562ac03e7ad41b360e3521d486254
14 files changed:
HISTORY.md
db/db_test_util.h
db/event_helpers.cc
db_stress_tool/db_stress_listener.h
fuzz/db_fuzzer.cc
fuzz/db_map_fuzzer.cc
include/rocksdb/listener.h
options/customizable.cc
options/customizable_test.cc
options/db_options.cc
options/options_test.cc
tools/db_bench_tool.cc
utilities/blob_db/blob_db_listener.h
utilities/transactions/lock/range/range_tree/lib/portability/toku_external_pthread.h