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:01:27 UTC

[GitHub] [couchdb] nickva edited a comment on pull request #3243: reuse GRV within an http request

nickva edited a comment on pull request #3243:
URL: https://github.com/apache/couchdb/pull/3243#issuecomment-721396769


   I wonder if this would work better in erlfdb and a few API calls to hide the pdict keys inside.
   
   If a transaction fails, during reading say with a 1007 (transaction too old) or on commit during writes, we have to make sure we reset or clear the cached GRV. In the 1007 or 1020 (commit conflict) case I think re-using a grv will just generate the same error again.
   
   It would be somewhere around here https://github.com/apache/couchdb-erlfdb/blob/main/src/erlfdb.erl#L680


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