Begin a repair write transaction with immediate durability. Immediate durability fsyncs the commit before returning, which is appropriate for destructive derived-index replacement.
(&self)
| 722 | /// Immediate durability fsyncs the commit before returning, which is |
| 723 | /// appropriate for destructive derived-index replacement. |
| 724 | pub fn write_txn_immediate(&self) -> PristineResult<WriteTxn<'_>> { |
| 725 | self.write_txn_with_durability(redb::Durability::Immediate) |
| 726 | } |
| 727 | |
| 728 | fn write_txn_with_durability( |
| 729 | &self, |