Move maintenance exclusion into blocking work so cancelling its caller cannot release the gate while that work is still using the database.
(&self)
| 60 | /// Move maintenance exclusion into blocking work so cancelling its caller |
| 61 | /// cannot release the gate while that work is still using the database. |
| 62 | pub(super) async fn exclusive_owned(&self) -> tokio::sync::OwnedMutexGuard<()> { |
| 63 | self.gate.clone().lock_owned().await |
| 64 | } |
| 65 | |
| 66 | /// The persistent repository ID for this daemon: a blake3 digest of the |
| 67 | /// canonical root. Slice limitation: RFC D3 wants IDs assigned at init |
no test coverage detected