Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Track all types of cleanups here:

      • (done in 001.patch) -Rename classes to more consistent naming: SystemClock, SystemMonotonicClock, HybridLogicalClock-
      • (done in 001.patch) -Move implementations out from Clock interface. It's a simple interface of 6 fns but very overloaded right now with everything put inside it.-
      • (done in 004.patch) -Maybe encapsulate all clocks in RS/Master into a new class. Then RSServices can just have getClocks() function.-
        class Clocks {
          // all 3 types of clocks.
          // Fns:
          - update(ClockType, timestamp)
          - updateAll(List\<NodeTime>)
          - int64 now(ClockType)
          - List\<NodeTime> nowAll()
          }
        

        Attachments

        1. HBASE-18509.HBASE-14070.HLC.001.patch
          63 kB
          Amit Patel
        2. HBASE-18509.HBASE-14070.HLC.002.patch
          32 kB
          Amit Patel
        3. HBASE-18509.HBASE-14070.HLC.003.patch
          36 kB
          Amit Patel
        4. HBASE-18509.HBASE-14070.HLC.004.patch
          36 kB
          Amit Patel
        5. HBASE-18509.HBASE-14070.HLC.005.patch
          7 kB
          Amit Patel

          Issue Links

            Activity

              People

              • Assignee:
                amit.patel Amit Patel
                Reporter:
                appy Apekshit Sharma
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: