xichen01 commented on PR #8707:
URL: https://github.com/apache/ozone/pull/8707#issuecomment-3084706803
> In what cases will ContainerData be inconsistent with the yaml file? I was
under the assumption that they're kept in sync.
Our current mechanism is based on the YAML file. If we generate cache
directly from ContainerData, this mechanism will change.
such as:
`KeyValueContainer#updateDataScanTimestamp`, if the `updateContainerFile`
throw a `StorageContainerException` in the `updateContainerData`, only
a`containerData.setState(oldState);` will be called to restore the Container
state in the memory, the dataScanTimestamp may inconsistent between memory with
Yaml.
--
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]