XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.94.0, 0.94.1, 0.95.2
    • None
    • security
    • Huawei

    Description

      Check data structures for necessary thread safety.

      One known issue is as follows:

      In TableAuthManager, we need to deal with concurrent grants and revokes now that ADMIN permission can be delegated to perhaps multiple users.

      Consider using a ReadWriteLock to protect for update. The current data structure is an array multimap. It is also possible to obtain a synchronized multimap from Guava with Multimaps#synchronizedListMultimap but by far the most common access is read access, and concurrent read access is fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: