couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Replication_and_conflicts" by BrianCandler
Date Sun, 01 Nov 2009 11:29:45 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Replication_and_conflicts" page has been changed by BrianCandler.
The comment on this change is: open_revs=all order is NOT related to winning revision.
http://wiki.apache.org/couchdb/Replication_and_conflicts?action=diff&rev1=6&rev2=7

--------------------------------------------------

  it would be possible to request a revision which is now missing, because the
  database has been compacted.
  
- (NOTE: it's not clear if the ordering is related to the deterministic choice
+ NOTE: the order of revisions returned by open_revs=all is NOT related to the
- of the "winning" revision. In the above example, the "winning" revision is 2-b91b...
+ deterministic "winning" algorithm. In the above example, the winning revision is 2-b91b...
- which is returned last, but I don't know if this is guaranteed to be true always)
+ and happens to be returned last, but in other cases it can be returned in a
+ different position.
  
  Once you have retrieved all the conflicting revisions, your application can then
  choose to display them all to the user. Or it could attempt to merge them, write

Mime
View raw message