incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Stevens (Gmail)" <wickedg...@gmail.com>
Subject Re: Document Timestamp On Replication
Date Wed, 04 May 2011 20:13:48 GMT
On Wed, May 4, 2011 at 10:41 AM, Owen Marshall
<omarshall@facilityone.com> wrote:
> So, if a user runs this view on N1 at 12:00, and changes/adds are
> replicated in from N2 at 12:01, **it doesn't matter!** Those documents
> will have an updatetime > 12:00, so they won't be seen.

This isn't the use case being described though.

00:00 - Documents A, B, C inserted on Node 1, replicated to Node 2.
11:59 - Document D inserted on Node 2.  Replication hasn't happened yet.
12:00 - First access of view page 1 on Node 1.  Only A, B, C are present.
12:01 - D is replicated to Node 1.
12:02 - Second access of view page 1 on Node 1, A, B, C, D should be present.
12:05 - First view page 2 is accessed, D should not be present.

I'm not quite sure why the OP doesn't want D shown at 12:05, though.

HTH,
Eli

Mime
View raw message