Skip to content

IGN-28024 Fix misleading message when connecting to a starting node#7828

Open
Pochatkin wants to merge 1 commit intomainfrom
IGN-28024
Open

IGN-28024 Fix misleading message when connecting to a starting node#7828
Pochatkin wants to merge 1 commit intomainfrom
IGN-28024

Conversation

@Pochatkin
Copy link
Contributor

Summary

  • When connecting to a node that is still starting, the CLI showed "The cluster is not initialized. Run cluster init..." which is misleading for nodes that are simply restarting
  • Changed the message to: "The cluster is not initialized or the node has not finished starting yet" with instructions for both cases
  • The 409 CONFLICT from the REST filter is returned both when the cluster isn't initialized AND when a node is restarting (REST state is NOT_INITIALIZED in both cases)

Test plan

  • Start a node in an already-initialized cluster and immediately connect — verify the new message
  • Connect to a fresh cluster that was never initialized — verify the new message includes cluster init instructions
  • Run ItNotInitializedClusterReplTest integration test

🤖 Generated with Claude Code

When a node is still starting up (e.g., after restart), the CLI showed
"The cluster is not initialized" which is incorrect. Changed the message
to cover both possible cases: cluster not initialized or node still
starting. Updated the integration test accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant