diff --git a/utilities/ttl/db_ttl.cc b/utilities/ttl/db_ttl.cc index 9e6181f93..4569c3f97 100644 --- a/utilities/ttl/db_ttl.cc +++ b/utilities/ttl/db_ttl.cc @@ -205,6 +205,9 @@ Status DBWithTTL::Write(const WriteOptions& opts, WriteBatch* updates) { virtual void Delete(const Slice& key) { updates_ttl.Delete(key); } + virtual void LogData(const Slice& blob) { + updates_ttl.PutLogData(blob); + } }; Handler handler; updates->Iterate(&handler);