-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Handle long dav property paths by hashing them #19242
Conversation
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.
This breaks custom properties for CalDAV (and probably CardDAV as well) for me:
To reproduce, just open the calendar app and click a calendar to hide it. When reloading, it should still be hidden, but it's not.
Neither Calendar nor AddressBook are extending Node |
switched to |
nevermind |
Signed-off-by: Robin Appelman <robin@icewind.nl>
test behaviour not implementation Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
5a40940
to
e44c276
Compare
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.
Lets do this!
/backport to stable18 |
/backport to stable17 |
The backport to stable17 failed. Please do this backport manually. |
backport to stable18 in #20030 |
Alternative to extending the column (#18126).
Even ignoring the migration problems with extending the problem, we then run into issues where we can't have an index on long string columns, which would require adding a separate
path_hash
column to query on.Since we don't actually ever query the path from the table and only use it for searching, simply storing only the hash works just fine.
PR includes