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

Denylist can load perpetually and too frequently if it fails persistently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.1.x
    • Feature/Rate Limiting
    • None
    • Degradation - Other Exception
    • Normal
    • Low Hanging Fruit
    • User Report
    • All
    • None
    • Hide

      Existing tests (exploring if I can add one more to produce this case and show how reads trigger a load of the denylist)

      Show
      Existing tests (exploring if I can add one more to produce this case and show how reads trigger a load of the denylist)

    Description

      When the denylist fails its initial load it can return a value of null for a key in the cache. The BoundedLoadingCache implementation that is used treats null as missing and will end up trying to load the key on reads. Besides the performance impact this can also lead to significant log spam leading to disk or CPU usage issues. 

      Attachments

        Issue Links

          Activity

            People

              jwest Jordan West
              jwest Jordan West
              Jordan West
              Josh McKenzie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: