Skip to content

Commit

Permalink
dont set previousClusterUUID to UNKNOWN_UUID if not able to find remo…
Browse files Browse the repository at this point in the history
…te manifest

Signed-off-by: bansvaru <bansvaru@amazon.com>
  • Loading branch information
linuxpi committed Oct 22, 2023
1 parent 5edbf06 commit d048ce7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,6 @@ public void setLastAcceptedState(ClusterState clusterState) {
"Latest manifest is not present in remote store for cluster UUID: {}",
clusterState.metadata().clusterUUID()
);
// we dont need this as previousClusterUUID would always be unknown in this case
// previousClusterUUID = ClusterState.UNKNOWN_UUID;
}
manifest = remoteClusterStateService.writeFullMetadata(clusterState, previousClusterUUID);
} else {
Expand Down

0 comments on commit d048ce7

Please sign in to comment.