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
Obsolete/eject older testing updates before mashing. #94
Comments
Another potential solution could be to only perform the obsoletion during a push, along with everything else. This way, A would go to testing, B would get submitted as well during the process. Then at the next push A would get obsoleted, and B would go to testing. |
I like @ralphbean's idea to eject the older updates from the mash, however |
(from issue #115): We need to ensure that bodhi does not let koji tag multiple builds for the same package out of order during a push. RIght now if a push contains 2 different builds for the same package, bodhi will order them and call the koji.addTag in the correct order, however the multicall does not have any guarantee in terms of execution ordering. So, we'll need to do multiple passes, tagging the old ones first, waiting for completion, then moving on. |
We merged #420. Does it not cover this? |
#420 covers when there are tag problems, where as with this scenario everything gets tagged properly, but not necessarily in the correct order. |
It sounds like releng hit this problem again today:
My summary interpretation of the problem is that updates don't get obsoleted when newer updates are being pushed to stable, which can cause the older package to remain open as an update. |
We currently hit race conditions when an update is on it's way to testing, and the maintainer submits a newer version during that time. This can lead to the older update getting ignored after it is pushed, and when the newer one goes to stable, the older one is left in testing with garbage-collected signatures.
So, post-tagging pre-mash we should add some additional logic to obsolete the stale testing updates.
The text was updated successfully, but these errors were encountered: