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/02/20 21:37:46 UTC

[GitHub] [couchdb] nickva commented on issue #2571: Fix bug in fdb_to_revinfo compatibility clause for format version 0 to 1

nickva commented on issue #2571: Fix bug in fdb_to_revinfo compatibility clause for format version 0 to 1
URL: https://github.com/apache/couchdb/pull/2571#issuecomment-589330949
 
 
   @jaydoane if you feel up to a challenge :-) we have something similar to check reading in older local doc formats:
   
   https://github.com/apache/couchdb/blob/prototype/fdb-layer/src/fabric/test/fabric2_doc_crud_tests.erl#L845-L893
   
   If you start from version 0 that would run through version 1 and version 2 so you'd exercise all that code. If building those rev tuples from scratch is hard, maybe it's easier to create a few revisions via `fabric2_db:...` then read the tuples, shorten them and write them back (with plain old `erlfdb:set` as version 0). Then go through `fabric2_db` to read the revision and assert they were read correctly.
   
   

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