Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5677

Replace System.currentTimeMillis with EnvironmentEdgeManager in non-test code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      Phoenix is inconsistent in using either system clock or EnvironmentEdgeManager to get current time. The EnvironmentEdgeManager is occasionally very useful in tests to control time deterministically without needing to sleep. Direct references to System.currentTimeMillis in non-test code should be switched over.

      Attachments

        1. PHOENIX-5677-addendum-4.x-HBase-1.3.patch
          7 kB
          Geoffrey Jacoby
        2. PHOENIX-5677-4.x-HBase-1.3.patch
          49 kB
          Geoffrey Jacoby

        Activity

          People

            gjacoby Geoffrey Jacoby
            gjacoby Geoffrey Jacoby
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h