devabhishekpal opened a new pull request, #7520: URL: https://github.com/apache/ozone/pull/7520
## What changes were proposed in this pull request? HDDS-11846. Set the schema version for Recon for fresh install Please describe your PR in detail: * In the current Recon Schema version table, we do not set the version_number value to the table, this causes the version information to default to -1, causing upgrade handler to run even in case of fresh install * In case the version number is not already set for the schema version table - it indicates that this is a fresh install for Ozone. * In case of a fresh install, we need to set the `version_number` in the table to have a record of the MLV for later upgrade. * This PR adds the insertion of the version to the Schema version table in this scenario ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-11846 ## How was this patch tested? Patch was verified using unit tests, and manually tested to ensure the fix works -- 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]
