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

Split point should not be equal to start row or end row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.95.0
    • regionserver
    • None
    • Reviewed

    Description

      Should we allow split point equal with region's start row or end row?

      // if the midkey is the same as the first and last keys, then we cannot
              // (ever) split this region.
              if (this.comparator.compareRows(mk, firstKey) == 0 &&
                  this.comparator.compareRows(mk, lastKey) == 0) {
                if (LOG.isDebugEnabled()) {
                  LOG.debug("cannot split because midkey is the same as first or " +
                    "last row");
                }
      

      Here, I think it is a mistake.

      Attachments

        1. HBASE-6336.patch
          1 kB
          Chunhui Shen

        Issue Links

          Activity

            People

              zjushch Chunhui Shen
              zjushch Chunhui Shen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: