Skip to content
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

Fix collation issue for older versions of libicu library #3491

Merged
merged 1 commit into from
Apr 5, 2021

Conversation

nickva
Copy link
Contributor

@nickva nickva commented Apr 5, 2021

Port of main PR to 3.x for consistency.

Previously, mango tests with objects as keys were failing on CentOS 6 and CentOS 7. The reason for the failures was that old libicu collation algorithms didn't consider the <<255,255,255,255>> as the highest sortable string as
CouchDB intends it to be. Later versions of libicu, at least as old as 59, started to do that. However, as long as we support CentOS 7 we can fix the issue by explicitly checking for the highest marker.

Previously, mango tests with objects as keys were failing on CentOS 6 and
CentOS 7. The reason for the failures was that old libicu collation algorithms
didn't consider the `<<255,255,255,255>>` as the highest sortable string as
CouchDB intends it to be. Later versions of libicu, at least as old as 59,
started to do that
https://www.unicode.org/reports/tr35/tr35-collation.html#tailored_noncharacter_weights.
However, as long as we support CentOS 7 we can fix the issue by explicitly
checkign for the highest marker.
@nickva nickva merged commit ca86ae1 into 3.x Apr 5, 2021
@nickva nickva deleted the 3.x-fix-centos-7-icu-collation-issue branch April 5, 2021 21:12
@pgj pgj mentioned this pull request Oct 31, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant