pending lock

2 moment(s) that assert this concept — showing 1–2 of 2

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Mycelial[2] Mycelial
showing 2 of 2 moments
Mycelial · youtube · en-US
1A pending lock is used to prevent new reader connections during a write, allowing existing readers to finish and eventually draining all readers to zero.
“with the pending lock no new reader connections are allowed you can think of this pinning lock as a way of draining any read connections down to zero”
spoken · 447s · 2022-10-28
Mycelial · youtube · en-US
2After all readers are disconnected, the pending lock escalates to an exclusive lock, allowing the writer to proceed with changes to OS buffers.
“all the readers will be gone and the pending lock will escalate to an exclusive lock”
spoken · 497s · 2022-10-28