Skip to content

Commit d7be8b7

Browse files
author
Rahul Karajgikar
committed
fix merge conflict
Signed-off-by: Rahul Karajgikar <karajgik@amazon.com>
1 parent 93e44e4 commit d7be8b7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -499,21 +499,7 @@ public void onFailure(Exception e) {
499499
} else {
500500
responseActionListener = listener;
501501
}
502-
<<<<<<< HEAD
503502
sendClusterState(destination, responseActionListener);
504-
=======
505-
// TODO Decide to send remote state before starting publication by checking remote publication on all nodes
506-
if (sendRemoteState && destination.isRemoteStatePublicationEnabled()) {
507-
logger.trace("sending remote cluster state version [{}] to [{}]", newState.version(), destination);
508-
sendRemoteClusterState(destination, publishRequest.getAcceptedState(), responseActionListener);
509-
} else if (sendFullVersion || previousState.nodes().nodeExists(destination) == false) {
510-
logger.trace("sending full cluster state version [{}] to [{}]", newState.version(), destination);
511-
sendFullClusterState(destination, responseActionListener);
512-
} else {
513-
logger.trace("sending cluster state diff for version [{}] to [{}]", newState.version(), destination);
514-
sendClusterStateDiff(destination, responseActionListener);
515-
}
516-
>>>>>>> f0cf40ce03f (cleanup unused code and remove added log lines)
517503
}
518504

519505
public void sendApplyCommit(

0 commit comments

Comments
 (0)