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

Memstore snapshot size isn't updated in DefaultMemStore#rollback()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0, 0.94.19, 0.98.2, 0.96.3
    • None
    • None
    • Reviewed

    Description

      In DefaultMemStore#rollback() :

           if (found != null && found.getMvccVersion() == kv.getMvccVersion()) {
             this.snapshot.remove(kv);
           }
      

      this.snapshotSize should be updated in case of rollback.

      Attachments

        1. 10845-v1.txt
          0.7 kB
          Ted Yu
        2. 10845-v2.txt
          8 kB
          Ted Yu
        3. 10845-v3.txt
          6 kB
          Ted Yu
        4. 10845-v4.txt
          6 kB
          Ted Yu
        5. 10845-0.98.txt
          6 kB
          Ted Yu
        6. 10845-0.94.txt
          0.7 kB
          Ted Yu
        7. 10845-0.96.addendum
          1 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: