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

Method parameter and member variable are duplicated in checkSplittable() of SplitTableRegionProcedure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1, 2.4.0, 2.2.7, 2.3.4
    • None
    • None
    • Reviewed

    Description

      We input a 'this.bestSplitRow' as 'splitRow' of checkSplittable()

      private void checkSplittable(final MasterProcedureEnv env,
          final RegionInfo regionToSplit, final byte[] splitRow)
      

      But this private method could used 'bestSplitRow' directly

      Attachments

        Activity

          People

            GeorryHuang Zhuoyue Huang
            GeorryHuang Zhuoyue Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: