Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15177

Reloading of auth caches happens on the calling thread

    XMLWordPrintableJSON

Details

    Description

      When Guava caches were replaced by their Caffeine equivalents in CASSANDRA-10855, the async reloading of stale AuthCache entries was lost due to the use of MoreExecutors.directExecutor() to provide the delegate executor. Under normal conditions, we can expect these operations to be relatively expensive, and in failure scenarios where replicas for the auth data are DOWN this will greatly increase latency, so they shouldn’t be done on threads servicing requests.

      Attachments

        Issue Links

          Activity

            People

              samt Sam Tunnicliffe
              samt Sam Tunnicliffe
              Sam Tunnicliffe
              Benjamin Lerer, Brandon Williams
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: