-
Notifications
You must be signed in to change notification settings - Fork 27
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
Remove RequiresLeader option from persistent subscription #181
Conversation
// Requires the request to be performed by the leader of the cluster. | ||
RequiresLeader bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if all of these operations require the leader by default. Let me know if I should revert any.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They do!
@YoEight I haven't run tests locally, so if there are any issues with the CI run I will adjust after. Thank you |
This shows for both the windows & mac checks. It seems the following var in Github is not set. Can you check when you have time?
|
Hey @seanppayne , you can't resolve that variable because you did a fork (we were not aware of that limitation). I came up with a patch to fix it and I suggest you to rebase your fork when that PR get merged. Sorry for delaying your review: |
5f72e6c
to
6f32356
Compare
@YoEight The tests passed. Please take a look when you have time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but I'll have @YoEight give it a second look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @seanppayne and thank you for your time!
// Requires the request to be performed by the leader of the cluster. | ||
RequiresLeader bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They do!
Changed: Remove
RequiresLeader
option from persisent subscription API.Addresses issue #176