HBase
  1. HBase
  2. HBASE-695

Add passing of filter state across regions

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Discussion on list arrived at need for filters to carry cross-region state. For example, if you are looking for sufficient rows to fill the fifth page of a set of results and a particular region only has the first half of page 5, there needs to be a mechanism to tell the next region in line, how far the scan has gotten. Clint Morgan suggested some kind of RPC or callback that the serverside region could tug on to pass back to the client the state-laden filter for passing the next region.

        Activity

        Hide
        stack added a comment -

        We'll never allow this happen, not if we want to be scalable.

        Show
        stack added a comment - We'll never allow this happen, not if we want to be scalable.
        Hide
        Jonathan Gray added a comment -

        Why would we never allow filter state across regions? Makes sense in MR context where all regions running in parallel, but could use cases of single-threaded client wanting a stateful filter?

        Don't think this is a high priority but does seem legitimate (simple row paging, for example, cannot be done correctly without it).

        Show
        Jonathan Gray added a comment - Why would we never allow filter state across regions? Makes sense in MR context where all regions running in parallel, but could use cases of single-threaded client wanting a stateful filter? Don't think this is a high priority but does seem legitimate (simple row paging, for example, cannot be done correctly without it).
        Hide
        stack added a comment -

        Reopening. Jonathan likes this idea.

        Show
        stack added a comment - Reopening. Jonathan likes this idea.

          People

          • Assignee:
            Unassigned
            Reporter:
            stack
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development