Skip to content

Commit

Permalink
Revert "GEODE-6477: Reply with exception if exception occurred during…
Browse files Browse the repository at this point in the history
… processing the message. (apache#3258)"

Do not change the existing product behavior as other places send the message as well.
Instead I will open a new ticket to handle the issue seen during gii.

This reverts commit a441757.
  • Loading branch information
pivotal-eshu committed Mar 7, 2019
1 parent 064db01 commit 81ca457
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,8 @@ protected void process(ClusterDistributionManager dm) {

} catch (RegionDestroyedException e) {
logger.debug("<RegionDestroyed> {}", this);
exception = new ReplyException(e);
} catch (CancelException e) {
logger.debug("<CancelException> {}", this);
exception = new ReplyException(e);
} catch (VirtualMachineError e) {
SystemFailure.initiateFailure(e);
throw e;
Expand All @@ -117,7 +115,7 @@ protected void process(ClusterDistributionManager dm) {
exception = new ReplyException(t);
} finally {
LocalRegion.setThreadInitLevelRequirement(oldLevel);
ReplyMessage replyMsg = createReplyMessage();
ReplyMessage replyMsg = new ReplyMessage();
replyMsg.setRecipient(getSender());
replyMsg.setProcessorId(processorId);
if (exception != null) {
Expand All @@ -127,10 +125,6 @@ protected void process(ClusterDistributionManager dm) {
}
}

ReplyMessage createReplyMessage() {
return new ReplyMessage();
}

@Override
public int getDSFID() {
return PREPARE_NEW_PERSISTENT_MEMBER_REQUEST;
Expand Down

This file was deleted.

0 comments on commit 81ca457

Please sign in to comment.