mirror of
https://github.com/google/leveldb.git
synced 2025-01-27 06:30:07 +08:00
Evict table file before archival in RepairTable.
This commit is contained in:
parent
4fb146810c
commit
1f345ba680
@ -313,6 +313,8 @@ class Repairer {
|
||||
}
|
||||
delete iter;
|
||||
|
||||
table_cache_->Evict(t.meta.number);
|
||||
|
||||
ArchiveFile(src);
|
||||
if (counter == 0) {
|
||||
builder->Abandon(); // Nothing to save
|
||||
|
Loading…
Reference in New Issue
Block a user