Module tikv::storage::txn::actions::cleanup[][src]

Modules

tests

Functions

cleanup

Cleanup the lock if it’s TTL has expired, comparing with current_ts. If current_ts is 0, cleanup the lock without checking TTL. If the lock is the primary lock of a pessimistic transaction, the rollback record is protected from being collapsed.