Skip to content

schema: move 'concurrent schema update' error to constants #449

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

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

bigbes
Copy link

@bigbes bigbes commented Jun 30, 2025

Closes #404, TNTP-3336

@bigbes bigbes force-pushed the bigbes/TNTP-3336-move-err-to-constant branch from bfd201c to 769e90a Compare June 30, 2025 18:23
Copy link
Collaborator

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

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

I suggest to change the commit title too:

const: add 'concurrent schema update' error constant

Up to you.

Please, add a unit-test for the constant that checks that it value is "concurrent schema update". This test will help to fix this behavior (error string).

@bigbes bigbes force-pushed the bigbes/TNTP-3336-move-err-to-constant branch from 769e90a to f17afe9 Compare July 1, 2025 09:46
@bigbes bigbes requested a review from oleg-jukovec July 1, 2025 09:50
@bigbes bigbes marked this pull request as ready for review July 1, 2025 09:50
@bigbes bigbes requested a review from dmyger July 1, 2025 09:50
@bigbes bigbes force-pushed the bigbes/TNTP-3336-move-err-to-constant branch from f17afe9 to ed88a1d Compare July 1, 2025 09:58
Copy link
Collaborator

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

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

Linter is red.

@bigbes bigbes force-pushed the bigbes/TNTP-3336-move-err-to-constant branch 2 times, most recently from 5bc3968 to 5ddbf80 Compare July 1, 2025 12:24
@oleg-jukovec
Copy link
Collaborator

oleg-jukovec commented Jul 1, 2025

If we have an issue on GitHub, then it is a good idea to provide a link to it. In this case, a link to ticket in Jira is a good idea, but not required.

Closes #TNTP-3336

->

Closes #404, TNTP-3336

or

Closes #404

Copy link
Collaborator

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

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

Please, fix the commit/PR message. See above.

@bigbes bigbes force-pushed the bigbes/TNTP-3336-move-err-to-constant branch from 5ddbf80 to 780841e Compare July 1, 2025 12:51
@bigbes bigbes requested a review from oleg-jukovec July 1, 2025 12:54
@oleg-jukovec oleg-jukovec merged commit 4567442 into master Jul 1, 2025
26 checks passed
@oleg-jukovec oleg-jukovec deleted the bigbes/TNTP-3336-move-err-to-constant branch July 1, 2025 22:16
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.

api: add a constant for "concurrent schema update"
3 participants