Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify {error, timeout} error type #256

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

the-mikedavis
Copy link
Member

@the-mikedavis the-mikedavis commented Apr 3, 2024

Previously this return value was '{error,{timeout,RaLeaderId}}. Leader information is generally not useful to Khepri API consumers though since Khepri covers leader redirection. So this change removes the leader ID from the error type and returns {error,timeout} instead.

Previously this return value was '{error,{timeout,RaLeaderId}}'. Leader
information is generally not useful to Khepri API consumers though since
Khepri covers leader redirection. So this change removes the leader ID
from the error type and returns '{error,timeout}' instead.
Copy link
Member

@dumbbell dumbbell left a comment

Choose a reason for hiding this comment

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

Thank you!

@dumbbell dumbbell modified the milestones: v0.13.0, v0.14.0 Apr 11, 2024
@dumbbell dumbbell merged commit e65e3b3 into main Apr 11, 2024
10 checks passed
@dumbbell dumbbell deleted the md/error-timeout-return branch April 11, 2024 13:26
@dumbbell dumbbell changed the title Simplify {error,timeout} error type Simplify {error, timeout} error type May 16, 2024
dumbbell pushed a commit to rabbitmq/rabbitmq-server that referenced this pull request May 16, 2024
dumbbell pushed a commit to rabbitmq/rabbitmq-server that referenced this pull request May 17, 2024
the-mikedavis added a commit to rabbitmq/rabbitmq-server that referenced this pull request Jul 9, 2024
the-mikedavis added a commit to rabbitmq/rabbitmq-server that referenced this pull request Jul 10, 2024
the-mikedavis added a commit to rabbitmq/rabbitmq-server that referenced this pull request Jul 10, 2024
mergify bot pushed a commit to rabbitmq/rabbitmq-server that referenced this pull request Jul 10, 2024
the-mikedavis added a commit to rabbitmq/rabbitmq-server that referenced this pull request Jul 10, 2024
the-mikedavis added a commit to rabbitmq/rabbitmq-server that referenced this pull request Jul 10, 2024
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.

2 participants