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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1
    • Fix Version/s: 3.0.0-alpha-1, 2.4.0, 2.2.7, 2.3.4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: