File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -577,15 +577,15 @@ where
577
577
return Ok ( result) ;
578
578
}
579
579
580
- if self . backoff . is_none ( ) {
580
+ if clone . backoff . is_none ( ) {
581
581
return Err ( Error :: ResolveLockError ( locks) ) ;
582
582
}
583
583
584
- let pd_client = self . pd_client . clone ( ) ;
584
+ let pd_client = clone . pd_client . clone ( ) ;
585
585
let live_locks =
586
- resolve_locks ( locks, self . timestamp . clone ( ) , pd_client. clone ( ) ) . await ?;
586
+ resolve_locks ( locks, clone . timestamp . clone ( ) , pd_client. clone ( ) ) . await ?;
587
587
if live_locks. is_empty ( ) {
588
- result = self . inner . execute ( ) . await ?;
588
+ result = clone . inner . execute ( ) . await ?;
589
589
} else {
590
590
match clone. backoff . next_delay_duration ( ) {
591
591
None => return Err ( Error :: ResolveLockError ( live_locks) ) ,
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ pub async fn resolve_locks(
120
120
. insert ( cleaned_region) ;
121
121
}
122
122
}
123
- info ! ( "resolved locks , live_locks: {:?}" , live_locks) ;
123
+ info ! ( "resolved_locks , live_locks: {:?}" , live_locks) ;
124
124
Ok ( live_locks)
125
125
}
126
126
You can’t perform that action at this time.
0 commit comments