mirror of
https://github.com/google/leveldb.git
synced 2025-01-29 06:40:27 +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;
|
delete iter;
|
||||||
|
|
||||||
|
table_cache_->Evict(t.meta.number);
|
||||||
|
|
||||||
ArchiveFile(src);
|
ArchiveFile(src);
|
||||||
if (counter == 0) {
|
if (counter == 0) {
|
||||||
builder->Abandon(); // Nothing to save
|
builder->Abandon(); // Nothing to save
|
||||||
|
Loading…
Reference in New Issue
Block a user