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

ResultScanner allowing partial result will miss the rest of the row if the region is moved between two rpc requests

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      HBASE-11544 allow scan rpc return partial of a row to reduce memory usage for one rpc request. And client can setAllowPartial or setBatch to get several cells in a row instead of the whole row.

      However, the status of the scanner is saved on server and we need this to get the next part if there is a partial result before. If we move the region to another RS, client will get a NotServingRegionException and open a new scanner to the new RS which will be regarded as a new scan from the end of this row. So the rest cells of the row of last result will be missing.

      Attachments

        1. 15325-test.txt
          7 kB
          Phil Yang
        2. HBASE-15325-branch-1.1-v1.patch
          19 kB
          Phil Yang
        3. HBASE-15325-branch-1.3-v1.patch
          48 kB
          Phil Yang
        4. HBASE-15325-branch-1.3-v2.patch
          46 kB
          Phil Yang
        5. HBASE-15325-branch-1-v1.patch
          19 kB
          Phil Yang
        6. HBASE-15325-branch-1-v2.patch
          17 kB
          Phil Yang
        7. HBASE-15325-v1.txt
          16 kB
          Phil Yang
        8. HBASE-15325-v10.patch
          17 kB
          Phil Yang
        9. HBASE-15325-v11.patch
          17 kB
          Phil Yang
        10. HBASE-15325-v2.txt
          16 kB
          Phil Yang
        11. HBASE-15325-v3.txt
          18 kB
          Phil Yang
        12. HBASE-15325-v5.txt
          17 kB
          Phil Yang
        13. HBASE-15325-v6.1.txt
          19 kB
          Phil Yang
        14. HBASE-15325-v6.2.txt
          21 kB
          Phil Yang
        15. HBASE-15325-v6.3.txt
          21 kB
          Phil Yang
        16. HBASE-15325-v6.4.txt
          21 kB
          Phil Yang
        17. HBASE-15325-v6.5.txt
          23 kB
          Phil Yang
        18. HBASE-15325-v6.txt
          18 kB
          Phil Yang
        19. HBASE-15325-v7.patch
          51 kB
          Phil Yang
        20. HBASE-15325-v8.patch
          16 kB
          Phil Yang
        21. HBASE-15325-v9.patch
          17 kB
          Phil Yang

        Issue Links

          Activity

            People

              yangzhe1991 Phil Yang
              yangzhe1991 Phil Yang
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: