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

Eliminate threadlocal from MVCC code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.99.0
    • None
    • Reviewed

    Description

      Brought up by vrodionov and yuzhihong@gmail.com.
      Currently we use ThreadLocals to communicate the current readpoint between a RegionScanner and the Store{File}Scanner's down the stack.
      Since ThreadLocals are not cheap we should consider whether it is possible to pass the readpoint through the call stack instead.

      Attachments

        1. 9754-rp-0.txt
          35 kB
          Ted Yu
        2. 9754-rp-1.txt
          40 kB
          Ted Yu
        3. 9754-rp-hregion.txt
          36 kB
          Ted Yu
        4. 9754-rp-hregion-v2.txt
          37 kB
          Ted Yu
        5. 9754-rp-hregion-v3.txt
          42 kB
          Ted Yu
        6. 9754-0.94.txt
          35 kB
          Ted Yu
        7. 9754-0.94-v2.txt
          36 kB
          Ted Yu
        8. 9754-addendum.txt
          1 kB
          Ted Yu
        9. 9754_plus_addendum_096.txt
          42 kB
          Michael Stack

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: