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

RPC quota requests ineffective due to not counting multi-actions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • rpc
    • None

    Description

      Was digging into a problem with ankit.singhal where setting RPC quotas on number of requests wasn't having any effect on a multi-Get

      Ankit did enough digging to find that this was because each RPC was being treated as one request instead of the number of requests contained within the RPC itself.

      Thinking as an operator, this is a pretty ineffective control because a user could just craft their API usage easily to work around any kind of limits I want to set to control their impact on the system. TimeBasedLimiter is assuming that one call to the quota code can only count as one request which I think is just wrong.

      Attachments

        1. HBASE-20468.001.patch
          18 kB
          Josh Elser

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: