fix(indexer): current_blocks_chunk must be clear after compression
This commit is contained in:
parent
d1830a78a5
commit
8abbee1344
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ pub fn apply_block_blocks_chunk<B: Backend>(
|
||||||
.map_err(|e| KvError::Custom(e.into()))?;
|
.map_err(|e| KvError::Custom(e.into()))?;
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
})
|
})?;
|
||||||
|
gva_db.current_blocks_chunk_write().clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Read and decompress bytes from file
|
/// Read and decompress bytes from file
|
||||||
|
|
Loading…
Add table
Reference in a new issue