mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
fix(tiering): Async delete for small bins (#3068)
* fix(tiering): Async delete for small bins --------- Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
parent
b2213b05d1
commit
68d1a8680c
9 changed files with 74 additions and 47 deletions
|
@ -1439,7 +1439,7 @@ void DbSlice::PerformDeletion(Iterator del_it, ExpIterator exp_it, DbTable* tabl
|
|||
const PrimeValue& pv = del_it->second;
|
||||
|
||||
if (pv.IsExternal() && shard_owner()->tiered_storage()) {
|
||||
shard_owner()->tiered_storage()->Delete(&del_it->second);
|
||||
shard_owner()->tiered_storage()->Delete(table->index, &del_it->second);
|
||||
}
|
||||
|
||||
size_t value_heap_size = pv.MallocUsed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue