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 2021/03/22 06:02:36 UTC

[GitHub] [couchdb] nickva opened a new pull request #3447: Decrease the view indexer transaction time

nickva opened a new pull request #3447:
URL: https://github.com/apache/couchdb/pull/3447


   The indexer ransaction time is decreased in order to allow enough time for the client to re-use the same GRV to emit doc bodies.
   
   This PR goes along with [1], where emitted doc bodies in a view responses now come from the same database read version as the one used by the indexer. Since the batcher previously used 4.5 seconds as the maximum, that left little time to read any doc bodies.
   
   [1]: https://github.com/apache/couchdb/pull/3391
   
   Issue: https://github.com/apache/couchdb/issues/3381
   


-- 
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



[GitHub] [couchdb] nickva merged pull request #3447: Decrease the view indexer transaction time

Posted by GitBox <gi...@apache.org>.
nickva merged pull request #3447:
URL: https://github.com/apache/couchdb/pull/3447


   


-- 
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



[GitHub] [couchdb] nickva commented on pull request #3447: Decrease the view indexer transaction time

Posted by GitBox <gi...@apache.org>.
nickva commented on pull request #3447:
URL: https://github.com/apache/couchdb/pull/3447#issuecomment-805170195


   The default behavior was characterized by @davisp during the initial PR for the new batcher: https://github.com/apache/couchdb/pull/3127#issue-478920470
   
   During overload, especially if using a remote `couch_eval` instances like [ateles](https://github.com/cloudant-labs/ateles), the retries or any slowdowns there would also be counted against the TX time, that is something to worry about. 


-- 
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