We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95378d2 commit 9e89fedCopy full SHA for 9e89fed
server/src/main/java/org/elasticsearch/gateway/PersistedClusterStateService.java
@@ -331,8 +331,8 @@ OnDiskState loadOnDiskState(boolean checkClean) throws IOException {
331
onDiskState = loadOnDiskState(dataPath, directoryReader);
332
333
if (nodeId.equals(onDiskState.nodeId) == false) {
334
- throw new IllegalStateException("unexpected node ID in metadata, found [" + onDiskState.nodeId +
335
- "] in [" + dataPath + "] but expected [" + nodeId + "]");
+ throw new IllegalStateException("the index containing the cluster metadata under the data path [" + dataPath +
+ "] belongs to a node with ID [" + onDiskState.nodeId + "] but this node's ID is [" + nodeId + "]");
336
}
337
338
} catch (IndexNotFoundException e) {
0 commit comments