Commit 72773d3
committed
kvserver: remove bq.replicaCanBeProcessed right before bq.processReplica
Previously, we called bq.replicaCanBeProcessed with acquireLeaseIfNeeded = false
before invoking bq.processReplica, which itself calls replicaCanBeProcessed with
acquireLeaseIfNeeded = true. This looks incorrect and did not exist prior to
c9cf068. It’s unclear how often lease renewal is actually going to be helpful
here, but I removed these two calls since they were newly introduced and seem
unintentional.
Informs: #151292
Release note: none1 parent 9bee340 commit 72773d3
1 file changed
+2
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | 908 | | |
916 | 909 | | |
917 | 910 | | |
| |||
1312 | 1305 | | |
1313 | 1306 | | |
1314 | 1307 | | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
| 1308 | + | |
| 1309 | + | |
1321 | 1310 | | |
1322 | 1311 | | |
1323 | 1312 | | |
| |||
0 commit comments