Skip to content

Commit

Permalink
filter deletion in compaction filter (tikv#344)
Browse files Browse the repository at this point in the history
And delay the buffer initialization of writable file to first actual write.

---------

Signed-off-by: tabokie <xy.tao@outlook.com>
  • Loading branch information
tabokie authored and v01dstar committed May 22, 2024
1 parent a2b5811 commit bb9cb78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/rocksdb/compaction_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class CompactionFilter : public Customizable {
kValue,
// Merge operand
kMergeOperand,
<<<<<<< HEAD
// Used internally by the old stacked BlobDB implementation; this value type
// is never passed to application code. Note that when using the new
// integrated BlobDB, values stored separately as blobs are retrieved and
Expand All @@ -71,6 +72,10 @@ class CompactionFilter : public Customizable {
kWideColumnEntity,
// Only used by TiKV's region range filter.
kDeletion,
=======
kBlobIndex, // used internally by BlobDB.
kDeletion, // used only by TiKV's region range filter.
>>>>>>> de47e8ece (filter deletion in compaction filter (#344))
};

// Potential decisions that can be returned by the compaction filter's
Expand Down

0 comments on commit bb9cb78

Please sign in to comment.