We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3853a56 commit ea57fddCopy full SHA for ea57fdd
1 file changed
src/transaction/lock.rs
@@ -216,6 +216,7 @@ async fn resolve_lock_with_retry(
216
}
217
Err(e) if is_grpc_error(&e) => match backoff.next_delay_duration() {
218
Some(duration) => {
219
+ pd_client.invalidate_region_cache(ver_id.clone()).await;
220
if let Ok(store_id) = store.region_with_leader.get_store_id() {
221
pd_client.invalidate_store_cache(store_id).await;
222
0 commit comments