Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11363

Access checks in preCompact and preCompactSelection are out of sync

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.3
    • 0.99.0, 0.98.4
    • None
    • None
    • Reviewed

    Description

      As discussed on HBASE-6192, it looks like someone cut and pasted the access check from preCompact into preCompactSelection at one time and, later, another change was made that relaxed permissions for compaction requests from ADMIN to ADMIN|CREATE.

      We do not need an access check in preCompactSelection since a request to compact is already mediated by preCompact.

      Attachments

        1. HBASE-11363.patch
          1.0 kB
          Andrew Kyle Purtell

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: