[
https://issues.apache.org/jira/browse/HDDS-12459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-12459:
------------------------------
Description:
java.time.Clock (system(ZoneId) / systemDefaultZone() / systemUTC()) uses
System.currentTimeMillis(). As described in HADOOP-15901, this could result in
undesired results when system clock's time changes.
was:java.time.Clock uses System.currentTimeMillis(). As described in
HADOOP-15901, this could result in undesired results when system clock's time
changes.
Summary: System clock should not be used for measuring time duration
(was: Clock should not be used for measuring time duration)
> System clock should not be used for measuring time duration
> -----------------------------------------------------------
>
> Key: HDDS-12459
> URL: https://issues.apache.org/jira/browse/HDDS-12459
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Tsz-wo Sze
> Priority: Major
>
> java.time.Clock (system(ZoneId) / systemDefaultZone() / systemUTC()) uses
> System.currentTimeMillis(). As described in HADOOP-15901, this could result
> in undesired results when system clock's time changes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]