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

Expose checkQuota to Coprocessor Endpoints

    XMLWordPrintableJSON

Details

    Description

      Coprocessor endpoints may do non-trivial amounts of work, yet quotas do not throttle them. We can't generically apply quotas to coprocessors because we have no information on what a particular endpoint might do. One thing we could do is expose checkQuota to the RegionCoprocessorEnvironment. This way, coprocessor authors have the tools to ensure that quotas cover their implementations.

      While adding this, we can update AggregationImplementation to call checkQuota since those endpoints can be quite expensive.

      Attachments

        Issue Links

          Activity

            People

              charlesconnell Charles Connell
              bbeaudreault Bryan Beaudreault
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: