Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2803

Project auth cache sync blocks list handler

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Done
    • 4.11
    • None
    • openshift-apiserver
    • Hide

      None

      Show
      None
    • Resolved an issue that could cause high latencies for project "list" requests, especially on clusters with many namespaces.

    Description

      An RW mutex was introduced to the project auth cache with https://github.com/openshift/openshift-apiserver/pull/267, taking exclusive access during cache syncs. On clusters with extremely high object counts for namespaces and RBAC, syncs appear to be extremely slow (on the order of several minutes). The project LIST handler acquires the same mutex in shared mode as part of its critical path.

      Attachments

        Issue Links

          Activity

            People

              bluddy Ben Luddy
              bluddy Ben Luddy
              Ke Wang Ke Wang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: