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

Acquiring readLock does not apply timeout in HRegion#flushcache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.4, 0.95.2
    • 0.94.4, 0.95.0
    • regionserver
    • None
    • Reviewed

    Description

      HRegion
        public boolean flushcache() throws IOException {
             lock(lock.readLock());
        }
      

      The HRegion.flushcache is called by the normal flush cache, so if we use a timeout, the MemStoreFlusher may be get a RegionTooBusyException, it is safe to do not use a timeout.

      Attachments

        1. HBASE-7376-94.patch
          0.6 kB
          Lijin Bin
        2. HBASE-7376-trunk.patch
          0.7 kB
          Lijin Bin

        Issue Links

          Activity

            People

              binlijin Lijin Bin
              binlijin Lijin Bin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: