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 2018/11/29 21:44:34 UTC

[GitHub] WillemvdW edited a comment on issue #1527: Support "very wide" clusters

WillemvdW edited a comment on issue #1527: Support "very wide" clusters
URL: https://github.com/apache/couchdb/issues/1527#issuecomment-443004325
 
 
   Thanks @wohali  . We would be interested to work and share with others in these two areas. On the transactional work, actually, we are dealing with sets of documents related a a work flow management. We are not interested in relational directly, but that the set of documents all save consistently or not. 
   
   Il'l give a use case. The workflow control document and 4 data documents that form part of the workflow action needs to be saved. In a poor network environment, the network fails before the workflow control document as the last step has been saved. In that case, they must all roll back. 
   
   Our solution support offline and online work, so the use case can get more complicated if you consider some data being updated online,  but other through replication. It is possible that two users update the same workflow, the one offline, and the other online - part of the same workflow. if there is a conflict on one document, then we are experiencing problems of data inconsistency for the whole workflow. 
   
   I don't believe it is possible to create sophisticate apps that always work one document at a time. But we can easily batch them. Now we are making sure that whatever the reason, we always save the same batch, or if there is a failure we roll them all back, whether they were processed offline or online

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services