You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/11/11 22:26:37 UTC

[GitHub] [couchdb] kocolosk commented on issue #2225: Reuse the open transaction for include_docs=true responses

kocolosk commented on issue #2225: Reuse the open transaction for include_docs=true responses
URL: https://github.com/apache/couchdb/issues/2225#issuecomment-552645334
 
 
   As a general rule I think we should not stitch together multiple FDB transactions underneath a single CouchDB operation. A good exception would be a continuous `_changes` feed, where there's already no expectation that the response is generated from a single version of the underlying database. I realize this could shorten response sizes, but I think that's generally a good direction for us to be taking the project.
   
   Snapshot reads are only useful to relax the isolation around a read performed as part of a RW transaction in FDB. A read-only transaction that never commits doesn't increase the likelihood of conflicts.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services