Revision cf9d8e45c08dee5b6d607c71078a225d4af26a21 authored by Yanqin Jin on 12 November 2020, 19:40:52 UTC, committed by Facebook GitHub Bot on 12 November 2020, 19:43:24 UTC
Summary: https://github.com/facebook/rocksdb/issues/7556 enables `CompactionIterator` to perform garbage collection during compaction according to a lower bound (user-defined) timestamp `full_history_ts_low_`. This PR adds a data member `full_history_ts_low_` of type `std::string` to `CompactionJob`, and `full_history_ts_low_` does not change during compaction. `CompactionJob` will pass a pointer to this data member to the `CompactionIterator` used during compaction. Also refactored compaction_job_test.cc to re-use some existing code, which is actually the majority of this PR. Pull Request resolved: https://github.com/facebook/rocksdb/pull/7657 Test Plan: make check Reviewed By: ltamasi Differential Revision: D24913803 Pulled By: riversand963 fbshipit-source-id: 11ad5329ddac365667152e7b3b02f84182c0ca8e
1 parent 0dc437d
File | Mode | Size |
---|---|---|
backupable | ||
blob_db | ||
cassandra | ||
checkpoint | ||
compaction_filters | ||
convenience | ||
leveldb_options | ||
memory | ||
merge_operators | ||
option_change_migration | ||
options | ||
persistent_cache | ||
simulator_cache | ||
table_properties_collectors | ||
trace | ||
transactions | ||
ttl | ||
write_batch_with_index | ||
debug.cc | -rw-r--r-- | 2.6 KB |
env_librados.cc | -rw-r--r-- | 36.4 KB |
env_librados.md | -rw-r--r-- | 4.6 KB |
env_librados_test.cc | -rw-r--r-- | 34.7 KB |
env_mirror.cc | -rw-r--r-- | 7.9 KB |
env_mirror_test.cc | -rw-r--r-- | 7.1 KB |
env_timed.cc | -rw-r--r-- | 5.1 KB |
env_timed_test.cc | -rw-r--r-- | 1.2 KB |
fault_injection_env.cc | -rw-r--r-- | 14.0 KB |
fault_injection_env.h | -rw-r--r-- | 7.7 KB |
fault_injection_fs.cc | -rw-r--r-- | 17.7 KB |
fault_injection_fs.h | -rw-r--r-- | 13.6 KB |
merge_operators.h | -rw-r--r-- | 2.0 KB |
object_registry.cc | -rw-r--r-- | 2.8 KB |
object_registry_test.cc | -rw-r--r-- | 5.8 KB |
util_merge_operators_test.cc | -rw-r--r-- | 3.3 KB |
Computing file changes ...