mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-13 05:38:36 -07:00
store: remove rotate_memtable as could be the root cause of the issue
This commit is contained in:
@@ -277,10 +277,6 @@ where
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn rotate_memtable(&self) {
|
||||
let _ = self.partition.as_ref().unwrap().inner().rotate_memtable();
|
||||
}
|
||||
|
||||
fn height(&self) -> Option<Height> {
|
||||
self.meta.height()
|
||||
}
|
||||
|
||||
@@ -9,8 +9,6 @@ pub trait AnyStore {
|
||||
|
||||
fn name(&self) -> &'static str;
|
||||
|
||||
fn rotate_memtable(&self);
|
||||
|
||||
fn height(&self) -> Option<Height>;
|
||||
|
||||
fn has(&self, height: Height) -> bool;
|
||||
|
||||
Reference in New Issue
Block a user