(&self)
| 426 | /// as operation-level contention control. |
| 427 | #[cfg(test)] |
| 428 | pub(super) fn begin_write(&self) -> Result<OrderedPristineWriteTxn<'_>, RepositoryError> { |
| 429 | let txn = self |
| 430 | .common |
| 431 | .pristine |
| 432 | .write_txn() |
| 433 | .map_err(|error| RepositoryError::Database(error.to_string()))?; |
| 434 | Ok(OrderedPristineWriteTxn { |
| 435 | txn, |
| 436 | operation: self, |
| 437 | }) |
| 438 | } |
| 439 | |
| 440 | /// Begin an immediately durable pristine write after both operation locks. |
| 441 | /// |