Skip to content

Commit

Permalink
Fixing the issue when Replication Type is delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Seenivasa Ragavan authored and Seenivasa Ragavan committed Apr 25, 2021
1 parent 9fa6215 commit 66d5961
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ public ReplicationResult deliver(TransportContext ctx, ReplicationTransaction tx
ReplicationActionType replicationType = tx.getAction().getType();

// only runs the code if ReplicationAction type matches any of the following
if (replicationType == ReplicationActionType.TEST || replicationType == ReplicationActionType.ACTIVATE || replicationType == ReplicationActionType.DEACTIVATE) {
if (replicationType == ReplicationActionType.TEST ||
replicationType == ReplicationActionType.ACTIVATE ||
replicationType == ReplicationActionType.DEACTIVATE ||
replicationType == ReplicationActionType.DELETE ) {
return handleRequest(tx);
} else {
throw new ReplicationException("Replication action type " + replicationType + " not supported.");
Expand Down

0 comments on commit 66d5961

Please sign in to comment.