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

Add a constraint check for suspend column #4546

Merged
merged 6 commits into from
May 17, 2024

Conversation

cshannon
Copy link
Contributor

@cshannon cshannon commented May 10, 2024

This adds a new metadata constraint check for the suspend metadata column to ensure that the suspension time is not negative as we should never have a negative value.

This is a follow on to #4494 as I realized when working on that we should probably add a validation check for this

I wasn't sure if we should target this at 2.1 or 3.1 but for now this is targeting 3.1 because there is a (probably very small) risk in 2.1 of something breaking if there was an unexpected negative that existed. Although maybe this isn't a big concern if an existing negative would still cause things to break in other ways (I haven't traced through to see)

This adds a new metadata constraint check for the suspend metadata
column to ensure that the suspension time is not negative as we should
never have a negative value.

This is a follow on to apache#4494
@cshannon cshannon self-assigned this May 10, 2024
@cshannon cshannon added this to In progress in 3.1.0 via automation May 10, 2024
@cshannon cshannon marked this pull request as ready for review May 10, 2024 21:17
@cshannon cshannon merged commit 8fe933a into apache:main May 17, 2024
8 checks passed
3.1.0 automation moved this from In progress to Done May 17, 2024
@cshannon cshannon deleted the suspension-constraint-check branch May 24, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
3.1.0
Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants