-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Fix the metadata setup compatibility issue #8959
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
Conversation
--- *Motivation* For keeping the compatibility of the setup metadata command. We should avoid delete the existing arguments. If we need to change it, it's better to keep the old arguments and mark it deprecate and hide it.
|
/pulsarbot run-failure-checks |
eolivelli
left a comment
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.
Can we add unit tests in order to prevent regressions?
| "--existing-bk-metadata-service-uri"}, | ||
| description = "The metadata service URI of the existing BookKeeper cluster that you want to use") | ||
| private String existingBkMetadataServiceUri; | ||
|
|
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.
This annotation is not really meaningful here by itself, can we add a comment?
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.
Which annotation? Do you mean @Deprecated?
--- *Motivation* metadata command is not compatible with old versions. For keeping the compatibility of the setup metadata command, we should avoid deleting the existing arguments. If we need to change it, it's better to keep the old arguments and mark it deprecates and hide them. (cherry picked from commit d7da7af)
--- *Motivation* metadata command is not compatible with old versions. For keeping the compatibility of the setup metadata command, we should avoid deleting the existing arguments. If we need to change it, it's better to keep the old arguments and mark it deprecates and hide them. (cherry picked from commit d7da7af)
|
@zymap @sijie I don't think we need to add
|
|
Yes. I think we can remove the |
|
@zymap thank you for your confirmation. |
Motivation
#8269 change the arguments name which causes the setup
metadata command is not compatible with old versions.
For keeping the compatibility of the setup metadata command,
we should avoid deleting the existing arguments. If we need to
change it, it's better to keep the old arguments and mark it
deprecates and hide them.