Skip to main content

test_kv_batch_get_concurrent_updates

Function test_kv_batch_get_concurrent_updates 

Source
pub async fn test_kv_batch_get_concurrent_updates(
    backend: &impl KvBackend<Error = Error>,
    key_count: usize,
)
Expand description

A batch read must not mix values from either side of an atomic update. key_count includes missing keys so callers can cross their statement boundary while the writer only needs a two-operation transaction.