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

Provide a nodetool way of invalidating auth caches

    XMLWordPrintableJSON

Details

    • Operability
    • Low Hanging Fruit
    • All
    • None
    • Hide

      The changes are covered by unit tests. After the patch is reviewed, I'll make one round of manual testing. As far as I understand, nodetool documentation is being generated automatically, so no separate steps with regard to documentation.

      Show
      The changes are covered by unit tests. After the patch is reviewed, I'll make one round of manual testing. As far as I understand, nodetool documentation is being generated automatically, so no separate steps with regard to documentation.

    Description

      We currently have nodetool commands to invalidate certain caches like KeyCache, RowCache and CounterCache.
      Being able to invalidate auth caches as well can come in handy in situations where, critical backend auth changes may need to be in effect right away for all the connections, especially in configurations where cache validity is chosen to be for a longer duration. An example can be that an authenticated user "User1" is no longer authorized to access a table resource "table1" and it is vital that this change is reflected right away, without having to wait for cache expiry/refresh to trigger.

      Attachments

        Issue Links

          Activity

            People

              azotcsit Aleksei Zotov
              sumanth.pasupuleti Sumanth Pasupuleti
              Aleksei Zotov
              Benjamin Lerer, Sam Tunnicliffe, Sumanth Pasupuleti
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m