davisp commented on pull request #2952:
URL: https://github.com/apache/couchdb/pull/2952#issuecomment-645555739


   @nickva That's true. I was thinking about that invalidation a bit wrong 
cause that logic is a bit nutty.
   
   @kocolosk Sorry, i guess I was a bit terse there. The basic change here is 
that I've switched the `db_version` from being a UUID to a versionstamp so that 
its comparable for use by fabric2_server to avoid the metadata version aspect 
since metadataVersion changes quite a bit more frequently in practice than 
expected.
   
   Along with that change I switched from using metadataVersion to the db 
version as the primary cache invaldiation mechanism. But then @nickva reminded 
me that it basically only devolves to this point so I'm gonna go back and undo 
that.
   
   It turns out the old caching bits were also a bit complicated so a lot of 
that has been straightened out as well to simplify things.


----------------------------------------------------------------
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:
[email protected]


Reply via email to