Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16833 Implement asynchronous hbase client based on HBASE-15921
  3. HBASE-17740

Correct the semantic of batch and partial for async client

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • asyncclient, Client, Scanners
    • None
    • Reviewed
    • Hide
      Now async client has the same semantic with sync client for batch and partial.
      '''
      Now setBatch doesn't mean setAllowPartialResult(true)
      If user setBatch(5) and rpc returns 3+5+5+5+3 cells, we should return 5+5+5+5+1 to user.
      '''

      Also a minor API change:
      Result#createCompleteResult(List<Result>) is changed to Result#createCompleteResult(Iterable<Result>).

      Show
      Now async client has the same semantic with sync client for batch and partial. ''' Now setBatch doesn't mean setAllowPartialResult(true) If user setBatch(5) and rpc returns 3+5+5+5+3 cells, we should return 5+5+5+5+1 to user. ''' Also a minor API change: Result#createCompleteResult(List<Result>) is changed to Result#createCompleteResult(Iterable<Result>).

    Attachments

      1. HBASE-17740.patch
        46 kB
        Duo Zhang
      2. HBASE-17740-v1.patch
        46 kB
        Duo Zhang

      Issue Links

        Activity

          People

            zhangduo Duo Zhang
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: