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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 0.94.19, 0.98.2, 0.96.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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-v4.txt
          6 kB
          Ted Yu
        2. 10845-v3.txt
          6 kB
          Ted Yu
        3. 10845-v2.txt
          8 kB
          Ted Yu
        4. 10845-v1.txt
          0.7 kB
          Ted Yu
        5. 10845-0.98.txt
          6 kB
          Ted Yu
        6. 10845-0.96.addendum
          1 kB
          Ted Yu
        7. 10845-0.94.txt
          0.7 kB
          Ted Yu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: