Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Could I ask what this parameter(buffer_response) does? #5148

Answered by rnewson
togo-hst asked this question in Q&A
Discussion options

Hello Nickva @nickva , Hello Robert @rnewson ,

I am very sorry to bother you two.
We have been using CouchDB products. However, we upgraded the version(v3.3.3) of CouchDB last month and found that the application had abnormal access to data. Thank you very much for your help and quickly find out the problem of this parameterbuffer_response #5094 .
Although this problem has been solved, I would like to know what impact it will have if this parameter(buffer_response) is set to true or false? I can only find the explanation here currently.

We have 7 databases, only 1 of them(sw360changelogs) cannot replicate data at the time.

Can I know more detailed explanation behind this parameter? Thanks a lot!

You must be logged in to vote

The linked documentation explains it all, I think? if buffered_response is true couchdb will calculate the whole response before starting the http response. this interacts very badly with _changes?feed=continuous as that has no "end".

I think we will deprecate and remove the option, and we do not recommend you enable it.

Replies: 1 comment 5 replies

Comment options

The linked documentation explains it all, I think? if buffered_response is true couchdb will calculate the whole response before starting the http response. this interacts very badly with _changes?feed=continuous as that has no "end".

I think we will deprecate and remove the option, and we do not recommend you enable it.

You must be logged in to vote
5 replies
Comment options

I got it , Thank you so much! Robert!

Yes, unfortunately this configuration was enabled by me while researching CouchDB, but the testing did not cover it. Eventually, it was pushed to the production environment and the customer discovered the issue.

Comment options

Does couchdb-lucene-v2.1.0 provide some configuration parameters that can also be solved, either?

Comment options

Or I misunderstood, according to what you meant, it should be like a streaming operation that can never be calculated and completed

Comment options

rnewson Jul 23, 2024
Collaborator

couchdb-lucene is obsolete at this point, it does not work with couchdb 2.0 or higher since clustering was added. Use the built-in search feature https://docs.couchdb.org/en/stable/ddocs/search.html instead.

Comment options

Thank you Robert! I will try this plugin for search of lucene. hava a good day! 🤝

Answer selected by togo-hst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /