(&mut self)
| 148 | } |
| 149 | |
| 150 | fn shutdown(&mut self) -> StorageResult<()> { |
| 151 | // Just flush to ensure data is persisted |
| 152 | // The database will remain open but file locks should be reduced |
| 153 | self.db |
| 154 | .flush() |
| 155 | .map_err(|e| StorageDriverError::BackendSpecific(e.to_string()))?; |
| 156 | Ok(()) |
| 157 | } |
| 158 | |
| 159 | fn open_index_tree( |
| 160 | &self, |