Clarify message on out-of-order state publish
This commit is contained in:
parent
4de57fc5aa
commit
85d3d51a74
|
@ -406,7 +406,8 @@ public class PublishClusterStateAction extends AbstractComponent {
|
|||
if (lastSeenClusterState != null && lastSeenClusterState.supersedes(incomingState)) {
|
||||
final String message = String.format(
|
||||
Locale.ROOT,
|
||||
"received older cluster state version [%s] with uuid [%s] than last seen cluster state [%s] with uuid [%s]",
|
||||
"received older cluster state version [%s] from current master " +
|
||||
"with uuid [%s] than last seen cluster state [%s] from current master with uuid [%s]",
|
||||
incomingState.version(),
|
||||
incomingState.stateUUID(),
|
||||
lastSeenClusterState.version(),
|
||||
|
|
|
@ -638,7 +638,7 @@ public class PublishClusterStateActionTests extends ESTestCase {
|
|||
expectThrows(IllegalStateException.class, () -> node.action.validateIncomingState(incomingState, node.clusterState));
|
||||
final String message = String.format(
|
||||
Locale.ROOT,
|
||||
"received older cluster state version [%s] with uuid [%s] than last seen cluster state [%s] with uuid [%s]",
|
||||
"received older cluster state version [%s] from current master with uuid [%s] than last seen cluster state [%s] from current master with uuid [%s]",
|
||||
incomingState.version(),
|
||||
incomingState.stateUUID(),
|
||||
node.clusterState.version(),
|
||||
|
|
Loading…
Reference in New Issue