-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: metadata error #4890
Comments
Hi, @oslet Thank you for the information. Is there any way to get the metadata version and time in the disk? cc @drmingdrmer |
It must be upgraded and the data format has been changed in: |
This upgrade added field |
It is recommended to add scheduled backup functions, such as hourly backup configuration to the object storage directory |
If you are using a single-node metasvr a backup may be necessary. But a backup should be considered only for data durability. It may not help in case data format is changed.:( |
Agreed. I agree with you to backup metadata to object or other places with version, this is a solid last resort for the metasrv. |
metasrv also need to add some tests to check the version compatibly for the current version with the previous version if metadata changed. |
…18e9227f6549b3090eb0fb9 Let metasvr be able to load the log-entry format before commit 34e89c9, in which the `Cmd` format changed. - fix: databendlabs#4890
…18e9227f6549b3090eb0fb9 Let metasvr be able to load the log-entry format before commit 34e89c9, in which the `Cmd` format changed. - fix: databendlabs#4890
…18e9227f6549b3090eb0fb9 Let metasvr be able to load the log-entry format before commit 34e89c9, in which the `Cmd` format changed. To solve th compatible issue, an intermedia type is introduced, which is a super set of the old and new type. When loading a record, first load it into the superset type, then reduce to the latest type. - fix: databendlabs#4890
…18e9227f6549b3090eb0fb9 Let metasvr be able to load the log-entry format before commit 34e89c9, in which the `Cmd` format changed. To solve th compatible issue, an intermedia type is introduced, which is a super set of the old and new type. When loading a record, first load it into the superset type, then reduce to the latest type. - fix: databendlabs#4890
Let metasvr be able to load the log-entry format before commit 34e89c9, in which the `Cmd` format changed. To solve th compatible issue, an intermedia type is introduced, which is a super set of the old and new type. When loading a record, first load it into the superset type, then reduce to the latest type. - fix: databendlabs#4890
Hi @oslet We have made databend-meta forward compatible from v0.7.22, please use https://github.com/datafuselabs/databend/releases/tag/v0.7.22-nightly |
Let metasvr be able to load the log-entry format before commit 34e89c9, in which the `Cmd` format changed. To solve th compatible issue, an intermedia type is introduced, which is a super set of the old and new type. When loading a record, first load it into the superset type, then reduce to the latest type. - fix: databendlabs#4890
Search before asking
Version
main:
commitid: d6fe2d1
tag: v0.7.20-nightly
What's Wrong?
How to Reproduce?
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: