pub trait WriteSetValidator: Send + Sync {
// Required method
fn validate(
&self,
request: &CommitRequest,
committed_pages: &BTreeSet<u32>,
) -> Result<(), String>;
}Expand description
Write-set conflict validator using first-committer-wins (FCW) logic.
committed_pages is the set of pages that have been committed since
the validating transaction’s snapshot.