AcctIdx: resize in-mem after startup for disk index (#21676)
This commit is contained in:
committed by
GitHub
parent
824994db69
commit
181c0092d6
@@ -905,6 +905,11 @@ impl<T: IndexValue> AccountsIndex<T> {
|
||||
AccountsIndexIterator::new(self, range, collect_all_unsorted)
|
||||
}
|
||||
|
||||
/// is the accounts index using disk as a backing store
|
||||
pub fn is_disk_index_enabled(&self) -> bool {
|
||||
self.storage.storage.is_disk_index_enabled()
|
||||
}
|
||||
|
||||
fn do_checked_scan_accounts<F, R>(
|
||||
&self,
|
||||
metric_name: &'static str,
|
||||
|
Reference in New Issue
Block a user