szetszwo commented on PR #8096: URL: https://github.com/apache/ozone/pull/8096#issuecomment-2731146627
> Will NodeStatus be stored in disk? If it will, then we cannot use Time.monotonicNow() for opStateExpiryEpochSeconds since it does use unix epoch. It won't work after the server restart. @chiacyu , found that `NodeStatus` is constructed using `DatanodeDetails.getPersistedOpStateExpiryEpochSec()`. Therefore, the value is persisted. We cannot simply change it to use `Time.monotonicNow()`. It need more thought. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
