https://github.com/tikv/rust-rocksdb/pull/757 changes the interface of compaction filter, but Titan doesn't. When titan is enabled, it wraps the tikv compaction filter. But Titan only overrides the FilterV3 but UnsafeFilter. So every calling to UnsafeFilter would just call the default implement of the base compaction filter which turns out skipping the logic of tikv compaction filter.
https://github.com/tikv/rust-rocksdb/pull/757 changes the interface of compaction filter, but Titan doesn't. When titan is enabled, it wraps the tikv compaction filter. But Titan only overrides the
FilterV3
butUnsafeFilter
. So every calling toUnsafeFilter
would just call the default implement of the base compaction filter which turns out skipping the logic of tikv compaction filter.This PR includes the interface changes on Titan side https://github.com/tikv/tikv/pull/16054