-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
CouchDB 2.3.0 has reduced the allowed length of GET requests #5083
Comments
This is important because CouchDB 2.3.0 has performance improvements we would benefit from so I'm scheduling it for 3.2.0. |
The issue has been marked as a bug by CouchDB folk and resolving it requires updating a CouchDB dependency ( We can work around it by changing CouchDB configuration, specifically:
The value we should choose is up for debate, more details about what
I've created a PR #5105 to demo the fact that adding the config fixes the issue. |
As this bug can be avoided by changing CouchDB configuration, I've opened an issue in |
@dianabarsan this looks to also affect our Search service, and at least locally following the instructions in the infrastructure report hasn't fixed it: |
@SCdF have you updated your config? |
Talked to @dianabarsan , I mis-read the infra ticket and changed the wrong value. After changing that value locally everything works. I will raise a separate ticket to have this happen for devs in Grunt |
This used to work in CouchDB < 2.3, but we now need to set this manually, otherwise our app will error in endless weird ways. 262144 is picked because I think it was the default before that. See: - https://github.com/medic/medic-infrastructure/issues/47 - #5083
When making a view request PouchDB switches to use a POST if the URL with parameters exceeds 2000 characters. Against CouchDB 2.2.0 GET requests this long work as expected, but in CouchDB 2.3.0 they fail at around 1370 characters.
Thanks @dianabarsan for finding this!
The text was updated successfully, but these errors were encountered: