Cassandra
  1. Cassandra
  2. CASSANDRA-4295

Implement caching of authorization results

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 1.2.2
    • Component/s: API
    • Labels:
      None

      Description

      1.2 will come with default IAuthority implementation that stores permissions in Cassandra, and each permission check will involve at least 1 Cassandra read. Some form of authorization result caching is very important for this scenario.

      1. 4295.txt
        6 kB
        Aleksey Yeschenko
      2. 4295-v2.txt
        9 kB
        Aleksey Yeschenko
      3. CASSANDRA-4295.patch
        19 kB
        Pavel Yaskevich

        Activity

        Aleksey Yeschenko made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Aleksey Yeschenko made changes -
        Attachment 4295-v2.txt [ 12567446 ]
        Aleksey Yeschenko made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Aleksey Yeschenko made changes -
        Attachment 4295.txt [ 12567402 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12749792 ] reopen-resolved, no closed status, patch-avail, testing [ 12754426 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12670638 ] patch-available, re-open possible [ 12749792 ]
        Jonathan Ellis made changes -
        Fix Version/s 1.2.2 [ 12323924 ]
        Fix Version/s 1.2.1 [ 12322953 ]
        Aleksey Yeschenko made changes -
        Fix Version/s 1.2.1 [ 12322953 ]
        Fix Version/s 1.2.0 [ 12323243 ]
        Aleksey Yeschenko made changes -
        Fix Version/s 1.2.0 [ 12323243 ]
        Fix Version/s 1.2.0 rc1 [ 12323481 ]
        Aleksey Yeschenko made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Jonathan Ellis made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 1.2.0 rc1 [ 12323481 ]
        Fix Version/s 1.2.1 [ 12322953 ]
        Jonathan Ellis made changes -
        Fix Version/s 1.2.1 [ 12322953 ]
        Fix Version/s 1.2.0 [ 12323243 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Aleksey Yeschenko made changes -
        Summary move checkaccess into statement.prepare Implement caching of authorization results
        Priority Minor [ 4 ] Major [ 3 ]
        Description there's no need to redo this every execution since the schema, tables, and users involved should all be immutable 1.2 will come with default IAuthority implementation that stores permissions in Cassandra, and each permission check will involve at least 1 Cassandra read. Some form of authorization result caching is very important for this scenario.
        Reviewer slebresne jbellis
        Aleksey Yeschenko made changes -
        Assignee Pavel Yaskevich [ xedin ] Aleksey Yeschenko [ iamaleksey ]
        Aleksey Yeschenko made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Jonathan Ellis made changes -
        Fix Version/s 1.2.0 [ 12323243 ]
        Fix Version/s 1.2.0 beta 1 [ 12319262 ]
        Jonathan Ellis made changes -
        Fix Version/s 1.2 [ 12319262 ]
        Fix Version/s 1.1.3 [ 12321881 ]
        Sylvain Lebresne made changes -
        Fix Version/s 1.1.3 [ 12321881 ]
        Fix Version/s 1.1.2 [ 12321445 ]
        Jonathan Ellis made changes -
        Assignee Sylvain Lebresne [ slebresne ] Pavel Yaskevich [ xedin ]
        Reviewer jbellis slebresne
        Jonathan Ellis made changes -
        Assignee Pavel Yaskevich [ xedin ] Sylvain Lebresne [ slebresne ]
        Pavel Yaskevich made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Reviewer jbellis
        Pavel Yaskevich made changes -
        Attachment CASSANDRA-4295.patch [ 12532884 ]
        Jonathan Ellis made changes -
        Field Original Value New Value
        Assignee Sylvain Lebresne [ slebresne ] Pavel Yaskevich [ xedin ]
        Jonathan Ellis created issue -

          People

          • Assignee:
            Aleksey Yeschenko
            Reporter:
            Jonathan Ellis
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development