phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey Jacoby (Jira)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-5677) Replace System.currentTimeMillis with EnvironmentEdgeManager in non-test code
Date Tue, 14 Jan 2020 18:11:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-5677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Geoffrey Jacoby updated PHOENIX-5677:
-------------------------------------
    Attachment: PHOENIX-5677-4.x-HBase-1.3.patch

> Replace System.currentTimeMillis with EnvironmentEdgeManager in non-test code
> -----------------------------------------------------------------------------
>
>                 Key: PHOENIX-5677
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5677
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>         Attachments: PHOENIX-5677-4.x-HBase-1.3.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message