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

Acquire readLock do not apply timeout in flushcache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.94.4, 0.95.2
    • None
    • regionserver
    • None

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: