Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67099

trimLabels calling Cloud#canProvision too often

    XMLWordPrintable

Details

    • 2.321

    Description

      Since JENKINS-65308 was implemented, we got several reports of provisioning issue.

      In CloudBees, we've had for years an implementation of Cloud where {provision,canProvision} are implemented as remote calls. #canProvision should ideally return fast so we know it is not ideal, but this has gone really worse since JENKINS-65308 got implemented due to the increase of calls to Cloud#canProvision.

      Something like JENKINS-57578 would likely clarify the situation, however in the current state, when calling trimLabels as part of a local operation (such as adding or removing a node), it would help if we only processed labels related to added or removed node(s).

      Attachments

        Issue Links

          Activity

            People

              vlatombe Vincent Latombe
              vlatombe Vincent Latombe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: