-
Notifications
You must be signed in to change notification settings - Fork 88
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
Release notes foreign keys #683
Conversation
cc @pmaier1 FYI This topic came up when some people had troubles with the foreign keys during update. See:
|
Hmm - there are a couple of things to check ( like having the right storage engine for mysql/mariadb (innodb)) - but other than that - we kind of require this currently and no fallback in place Other ideas @DeepDiver1975 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While it's good that users are notified, via this update, that foreign keys are utilised, because of the WebDAV locks feature; just telling them that isn't enough. As others have said, adding more comprehensive information about them, issues that may be encountered, and how to correct those issues should also be added.
After reading through the linked issues, the debug information and resolution steps should definitely be added to an FAQ/help section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As covered in the comments, this, imho, needs further work.
Yes, for me when I read just the fews lines here so far, I think "well isn't that interesting, the software uses a database feature that has existed for decades." But I don't think "oh, maybe my database won't support or work with this for some reason", because in my decades in the industry I have never contemplated a production installation of a relational database where foreign keys do not work. |
For whom is this information relevant and why? |
Can you comment further, @PVince81. |
This is not ready for merging. Need someone with more deployment knowledge to chime in and explain what an admin should be aware of. Or should we just say something like "it's the first time we introduce foreign keys so there is a slight chance that you'll experience issues during upgrades if you have an exotic setup" ? @patrickjahns |
ping @patrickjahns. |
👍 |
The number of commits has got crazy here - |
902f6d0
to
0f152a1
Compare
This moves SQLite down the database order, so that it, hopefully, doesn't seem as prominent nor important. It also adds an admonition reaffirming that SQLite is not supported in production deployments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - can be backported as far as you want.
Since it is and addition to a quite old part of the release notes, do we backport further than usual? Up to you!
Current policy is to only backport to the latest two release branches. |
@patrickjahns you have suggested mentioning the addition of foreign keys in the release notes.
See my draft. I'm not sure what else to add there, did you have anything in mind ?
Something like "if your database / setup doesn't support it, you should ... do what ?"