Function mz_txn_wal::small_caa

source ยท
pub(crate) async fn small_caa<S, F, K, V, T, D>(
    name: F,
    txns_or_data_write: &mut WriteHandle<K, V, T, D>,
    updates: &[((&K, &V), &T, D)],
    upper: T,
    new_upper: T,
) -> Result<(), T>
where S: AsRef<str>, F: Fn() -> S, K: Debug + Codec, V: Debug + Codec, T: Timestamp + Lattice + TotalOrder + Codec64 + Sync, D: Debug + Semigroup + Ord + Codec64 + Send + Sync,
Expand description

Helper for common logging for compare_and_append-ing a small amount of data.