Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6841

Use Time.monotonicNow() wherever applicable instead of Time.now()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Time.now() used in many places to calculate elapsed time.
      This should be replaced with Time.monotonicNow() to avoid effect of System time changes on elapsed time calculations.

        Attachments

        1. HDFS-6841-001.patch
          65 kB
          Vinayakumar B
        2. HDFS-6841-002.patch
          67 kB
          Vinayakumar B
        3. HDFS-6841-003.patch
          77 kB
          Vinayakumar B
        4. HDFS-6841-004.patch
          78 kB
          Vinayakumar B
        5. HDFS-6841-005.patch
          92 kB
          Vinayakumar B
        6. HDFS-6841-006.patch
          105 kB
          Vinayakumar B

          Issue Links

            Activity

              People

              • Assignee:
                vinayakumarb Vinayakumar B
                Reporter:
                vinayakumarb Vinayakumar B
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: