Skip to content

Conversation

joshua-adams-1
Copy link
Contributor

@joshua-adams-1 joshua-adams-1 commented Sep 18, 2025

Modifies the Javadoc descriptions of FailedToCommitClusterStateException
and NotMasterException to better distinguish between the two

Prerequisite to #134213

Modifies the Javadoc descriptions of FailedToCommitClusterStateException
 and NotMasterException to better distinguish between the two
Modifies the Javadoc descriptions of FailedToCommitClusterStateException
 and NotMasterException to better distinguish between the two
@joshua-adams-1 joshua-adams-1 self-assigned this Sep 18, 2025
@joshua-adams-1 joshua-adams-1 marked this pull request as ready for review September 19, 2025 13:17
@elasticsearchmachine elasticsearchmachine added the needs:triage Requires assignment of a team area label label Sep 19, 2025
@joshua-adams-1 joshua-adams-1 added :Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. and removed needs:triage Requires assignment of a team area label labels Sep 19, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label Sep 19, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

joshua-adams-1 and others added 2 commits September 19, 2025 16:14
Applying suggested changed from David

Co-authored-by: David Turner <[email protected]>
Copy link
Contributor

@JeremyDahlgren JeremyDahlgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you've addressed all of David's review comments, I just have the one suggestion about a possible overwrite.

*
* This is different from {@link NotMasterException} where we know for certain that a state update never took effect.
*
* This exception is retryable within {@link FailedToCommitClusterStateException}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this was overwritten in baaf76a, I think you wanted TransportNodeMasterAction?

Suggested change
* This exception is retryable within {@link FailedToCommitClusterStateException}.
* This exception is retryable within {@link TransportNodeMasterAction}.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right, thanks! I'll have to push a new revision since it needs to be imported. Good catch!

@joshua-adams-1 joshua-adams-1 requested review from JeremyDahlgren and removed request for DaveCTurner September 26, 2025 11:23
Copy link
Contributor

@JeremyDahlgren JeremyDahlgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joshua-adams-1 joshua-adams-1 merged commit f115d02 into elastic:main Sep 26, 2025
34 checks passed
@joshua-adams-1 joshua-adams-1 deleted the update-exception-messages branch September 26, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants