Function tikv::storage::mvcc::tests::check_lock [−][src]
fn check_lock(
reader: &mut SnapshotReader<impl Snapshot>,
key: &Key,
ts: TimeStamp
) -> Result<()>
Checks if there is a lock which blocks reading the key at the given ts.
Returns the blocking lock as the Err
variant.