nickva commented on issue #496: Couchdb 3287 pluggable storage engines
URL: https://github.com/apache/couchdb/pull/496#issuecomment-305917246
 
 
   Tested mixed cluster upgrade. Started a cluster from 
`COUCHDB-3288-mixed-cluster-upgrade` with dev/run. Killed node3 and then 
started it with PSE code.
   
   Noticed that internal replication pushing documents with attachments from 
node1 to node3 was failing with a function_clause in `couch_att:flush_data`.
   
   ```
   rpc couch_db:update_docs/4 function_clause [{couch_att,flush_data, 
[{db,1,<<"shards/...
   ```
   
   The reason is that flush_data was called with `Db, {Fd, StreamPointer}, Att` 
arguments instead of the new format of `Db, {stream, StreamEngine}, Att`
   
   Probably need to add a clause to upgrade old stream to new couch_bt_engine's 
stream format and vice versa.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to