Commit adb3040
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 8a15c13 commit adb3040
1 file changed
+2
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | 915 | | |
923 | 916 | | |
924 | 917 | | |
| |||
1333 | 1326 | | |
1334 | 1327 | | |
1335 | 1328 | | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
| 1329 | + | |
| 1330 | + | |
1342 | 1331 | | |
1343 | 1332 | | |
1344 | 1333 | | |
| |||
0 commit comments