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

Unsynchronized scanning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      HBASE-10015 has some lengthy discussion. The solution there ended up replacing synchronized with ReentrantLock, which - somewhat surprisingly - yielded a non-trivial improvement for tall tables.
      The goal should be to avoid locking in StoreScanner at all. StoreScanner is only accessed by a single thread except when we have a concurrent flush or a compaction, which is rare (we'd acquire and release the lock millions of times per second, and compact/flush a few time an hour at the most).

      Attachments

        1. 10060-trunk.txt
          14 kB
          Lars Hofhansl
        2. 10060-trunk-v2.txt
          15 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              Unassigned Unassigned
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: