Skip to content
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

OCPBUGS-741: [release-4.7] Remove oudated subscription update logic to improve resolution delay #373

Commits on Aug 24, 2022

  1. Remove oudated subscription update logic to improve resolution delay

    Currently, olm logic checks for upgrade in subscription via another
    obsolete API that is no longer in use for dependency solution. As a
    result, sometimes, subscriptions display `UpgradeAvailable` status but
    there will be no upgrades as the upgrade is not valid in the resolver.
    Also, the `UpgradeAvailable` status is used to trigger the new resolution
    even though that status is no longer a valid indicator of having a pending
    upgrade. This leads to unwanted upgrade delay when the obsolete API works
    properly.
    
    This commit will remove the code that is using this obsolete API and
    allow the resolution to happen when there is a subscription change.
    
    Signed-off-by: Vu Dinh <vudinh@outlook.com>
    Upstream-repository: operator-lifecycle-manager
    Upstream-commit: 81e7a60bc7a62da4a469041ce89e3867e9f47fde
    dinhxuanvu authored and openshift-cherrypick-robot committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    ce942e6 View commit details
    Browse the repository at this point in the history