closing flags show be set false in HRegion

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      in HRegion.java

       

       

      1429 // block waiting for the lock for closing
      1430 lock.writeLock().lock();
      1431 this.closing.set(true);
      1432 status.setStatus("Disabling writes for close");

       

      ....

       

       

      1557 } finally {

               //should here add 

              this.closing.set(false); 
      1558  lock.writeLock().unlock();
      1559 }

        1. image-2018-12-13-16-04-51-892.png
          159 kB
          xiaolerzheng
        2. image-2018-12-13-16-05-09-246.png
          196 kB
          xiaolerzheng
        3. image-2018-12-13-16-05-36-404.png
          21 kB
          xiaolerzheng
        4. HBASE-21593.branch-1.001.patch
          1.0 kB
          Xu Cang

            Assignee:
            Xu Cang
            Reporter:
            xiaolerzheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: