Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@eyalkoren May I ask a few questions? This pipeline is now managed by the IndexTemplate registry
REGISTRY_VERSION
for this change?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.
Generally speaking- yes. As long as you use the same pipeline ID, I believe it won't be upgraded if it is already installed otherwise.
In your specific case, maybe it is not required (and even not preferred), because the geoip DB has already been downloaded, so you might as well keep using its processor...
I guess you need to decide whether you enforce proper version maintenance (and increase the version) or make an exception in this case (not increase the version- then only new clusters will use this form).
I hope this makes sense...
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.
Thanks for the answer! Yep as this is only a temporary change and will have a further change before 8.9 release, I will keep the version number the same.
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.
So if your further change restores the pipeline state to be the same as it was before, this is indeed not required.
However, if after all your pipeline (or any other component installed through your registry) changes, then version should be increased, otherwise it won't be upgraded in rolling upgrades.