Skip --config-file-not-found-handling in upgrade downgrade tests when vttablet < 17.x.x#13275
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
--config-file-not-found-handling in upgrade downgrade tests when vttablet < 17.0.0
--config-file-not-found-handling in upgrade downgrade tests when vttablet < 17.0.0--config-file-not-found-handling in upgrade downgrade tests when vttablet < 17.0.x
--config-file-not-found-handling in upgrade downgrade tests when vttablet < 17.0.x--config-file-not-found-handling in upgrade downgrade tests when vttablet < 17.x.x
ebab5c0 to
d00dc0f
Compare
deepthi
left a comment
There was a problem hiding this comment.
This doesn't seem right to me. The v16 version of vttablet should not have this flag regardless. How can code that is only in v17 get into a v16 binary version of vttablet?
To put it another way, this PR is changing production code to check the version before adding a flag. The flag should not exist on the release-16.0 branch already, so this is the wrong change. The right way is to fix is to change whatever test code is providing the flag to check the binary version and not provide the flag. |
Yes, I've got that thanks! Not sure why I steered this way, I have a proper fix coming up. |
8773900 to
cec6f31
Compare
…version 16 Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
cec6f31 to
b90e197
Compare
mattlord
left a comment
There was a problem hiding this comment.
I have a suggestion for a simpler and more robust command. But I will approve so that you can resolve that and merge when ready. Thanks!
Co-authored-by: Matt Lord <mattalord@gmail.com> Signed-off-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>
Description
Saw in #13268 that the
[Upgrade Downgrade Test - Backups - Manual](https://github.com/vitessio/vitess/actions/runs/5204734892/jobs/9402321444?pr=13268#logs)test was failing due to an invalid flag when running withvttablet:16.0.2from therelease-17.0branch. The incorrect flag is:--config-file-not-found-handling.This PR ensures we do not add the flag if the version of
vttabletis not greater or equal to 17.Log fragment from previous CI run:
Checklist
Deployment Notes