adoroszlai opened a new pull request, #9381: URL: https://github.com/apache/ozone/pull/9381
## What changes were proposed in this pull request? `OmKeyInfo#fileName` is not persisted to DB, but set during deserialization based on `keyName`. This happens even if the `OmKeyInfo` did not have `fileName` initially. Thus the `fileName` may be different for the instance added to the table cache and the one read from DB. To avoid that, FSO requests need to manually `setFileName`, which is error-prone. This PR changes `OmKeyInfo` to set `fileName` whenever `keyName` is initialized (in `build()`) or updated. https://issues.apache.org/jira/browse/HDDS-13982 ## How was this patch tested? Updated unit and integration test case. https://github.com/adoroszlai/ozone/actions/runs/19699233660 -- 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]
