Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: edwinhzhang <[email protected]>
  • Loading branch information
zhangheihei committed Nov 24, 2024
1 parent 2bdb982 commit 62a40e1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ public void applyVisibleLog(TransactionState txnState, TableCommitInfo commitInf
if (!txnState.tabletCommitInfosContainsReplica(tablet.getId(), replica.getBackendId(),
replica.getState())
|| errorReplicaIds.contains(replica.getId())) {
if (isDependencyReplicasNotCommited && replica.getVersion() >= version
&& replica.getState() == Replica.ReplicaState.DECOMMISSION) {
if (isDependencyReplicasNotCommited && replica.getVersion() >= version) {
// this means the replica is a normal replica
// success version always move forward
lastSucessVersion = version;
Expand Down

0 comments on commit 62a40e1

Please sign in to comment.