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 2020/11/03 22:05:40 UTC
[GitHub] [couchdb] rnewson commented on pull request #3243: reuse GRV within an http request
rnewson commented on pull request #3243:
URL: https://github.com/apache/couchdb/pull/3243#issuecomment-721398662
I don't believe so, if the txn hits a 1007 the request has failed, it took too long.
Where we do need to refetch the grv is if we perform any write in a different txn that we are waiting on in the original process. The most obvious case is when querying a stale view. With this PR, that never works, because all txn's started on the http process will use the same grv, the one used to fetch security properties and check if the view is built. When the async process that updates that view (couch_view_jobs) completes, the http process can't query it because it won't fetch a new grv. Fun!
----------------------------------------------------------------
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