Skip to main content

row_moved_on

Function row_moved_on 

Source
pub(crate) fn row_moved_on(error: &Error) -> bool
Expand description

Whether the error is transition refusing to write because another writer moved the row since the snapshot the decision was made from.

A phase that hits this on one row of a batch must skip that row and carry on: the row belongs to whoever moved it, and aborting the loop would leave every row after it in the state the phase’s own preflight wrote, with no phase claiming that state again.