We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124972f commit 1c2acb5Copy full SHA for 1c2acb5
src/transaction/lock.rs
@@ -97,7 +97,10 @@ pub async fn resolve_locks(
97
commit_versions.insert(lock.lock_version, 0);
98
Some(0)
99
}
100
- TransactionStatusKind::Locked(..) => None,
+ TransactionStatusKind::Locked(_ttl, lock) => {
101
+ live_locks.push(lock.clone());
102
+ None
103
+ }
104
105
106
};
@@ -115,10 +118,9 @@ pub async fn resolve_locks(
115
118
.entry(lock.lock_version)
116
119
.or_default()
117
120
.insert(cleaned_region);
- } else {
- live_locks.push(lock);
121
122
123
+ info!("resolved locks, live_locks: {:?}", live_locks);
124
Ok(live_locks)
125
126
0 commit comments