-
Notifications
You must be signed in to change notification settings - Fork 999
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
meta: fix empty value in xattr #5696
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: jiefenghuang <[email protected]>
Signed-off-by: jiefenghuang <[email protected]>
Signed-off-by: jiefenghuang <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5696 +/- ##
==========================================
- Coverage 54.90% 47.20% -7.71%
==========================================
Files 166 131 -35
Lines 48600 39629 -8971
==========================================
- Hits 26684 18705 -7979
+ Misses 19002 18711 -291
+ Partials 2914 2213 -701 ☔ View full report in Codecov by Sentry. |
Signed-off-by: jiefenghuang <[email protected]>
Redis and SQL database support empty values, so we should only fix that for tkv. The dump/load should be updated also. This is breaking change, since old version of JuiceFS will not know this special value. |
I’ll add the compatibility for load/dump. SQL also needs to be compatible as value is defined with notnull. Value []byte `xorm:"blob notnull"` |
Not necessary, this patch is used to workaround a weakness of TiKV. |
close #5680