Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
Reviewed
Description
monotonicNowMs is generated by System.nanoTime(), direct comparison is not recommended.
org.apache.hadoop.hdfs.server.blockmanagement.BlockReportLeaseManager#pruneIfExpired
if (monotonicNowMs < node.leaseTimeMs + leaseExpiryMs) { return false; }
Attachments
Issue Links
- links to