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

Set/get configuration does not work #297

Open
strowk opened this issue Sep 30, 2019 · 1 comment
Open

Set/get configuration does not work #297

strowk opened this issue Sep 30, 2019 · 1 comment

Comments

@strowk
Copy link

strowk commented Sep 30, 2019

Try to

dbInstance.setConfiguration("query_server_config", "reduce_limit", "false");

result:

 nested exception is org.ektorp.DocumentNotFoundException: nothing found on db path: /_config/query_server_config/reduce_limit, Response body: {"error":"not_found","reason":"Database does not exist."}

Should not use url '_config'. According to https://groups.google.com/forum/#!topic/couchdb-user-archive/ZQePL4EKzLE url should start from '/_node/<node_name>/_config/ '

@triplem
Copy link

triplem commented Oct 6, 2019

In CouchDB 2.0 the configuration has moved from _config to /_node/{node-name}/_config. This is not reflected up until now in Ektorp. Ektorp seems to be still fixed to 1.x.

triplem added a commit to triplem/Ektorp that referenced this issue Oct 6, 2019
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

No branches or pull requests

2 participants