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

The in-memory flush size is different for each CompactingMemStore located in the same region

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • regionserver
    • None
    • Reviewed

    Description

        private void initInmemoryFlushSize(Configuration conf) {
          long memstoreFlushSize = getRegionServices().getMemstoreFlushSize();
          int numStores = getRegionServices().getNumStores();
          if (numStores <= 1) {
            // Family number might also be zero in some of our unit test case
            numStores = 1;
          }
          inmemoryFlushSize = memstoreFlushSize / numStores;
      

      We initialize each store in parallel, so the return value from getNumStores() may be different for each CompactingMemStore.

      Attachments

        1. HBASE-17943.addendum.patch
          2 kB
          Chia-Ping Tsai
        2. HBASE-17943.v0.patch
          4 kB
          Chia-Ping Tsai

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: