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

Make pollKeepalive optional #1046

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Make pollKeepalive optional #1046

merged 1 commit into from
Dec 30, 2024

Conversation

tomaszklak
Copy link
Contributor

@tomaszklak tomaszklak commented Dec 23, 2024

Problem

pool_keepalive was made a required field. This is causing failures in unaligned clients (the fact that it has a default serde value in the json doesn't help).

Solution

Make the field optional in the udl.

☑️ Definition of Done checklist

  • Commit history is clean (requirements)
  • README.md is updated
  • Functionality is covered by unit or integration tests

@tomaszklak tomaszklak requested a review from a team as a code owner December 23, 2024 14:47
Copy link
Contributor

@tomasz-grz tomasz-grz left a comment

Choose a reason for hiding this comment

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

+1

Would we bump the major version now because we changed the UDL? or is it backwards compatible because of the optional?

@tomaszklak
Copy link
Contributor Author

+1

Would we bump the major version now because we changed the UDL? or is it backwards compatible because of the optional?

We didn't release version with this new field so as far as I understand, if we release 5.2 after this PR it will be just like the addition of non-optional didn't happen. Which means that we added optional field which is afaik compatible with applications using previous (5.1.5) version.

Copy link
Contributor

@mathiaspeters mathiaspeters left a comment

Choose a reason for hiding this comment

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

+2

@olekoliinyk olekoliinyk merged commit d71b3d5 into main Dec 30, 2024
67 checks passed
@olekoliinyk olekoliinyk deleted the fix-pollKeepalive branch December 30, 2024 13:06
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.

4 participants