couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stephen bartell <snbart...@gmail.com>
Subject Re: Can I trust _replicator state in 1.2.0
Date Thu, 04 Oct 2012 19:56:39 GMT
+1 Im curious on this one too.

Currently we have implemented our own replicator.  It'd be nice to move to couch's own replicator.

Stephen Bartell

"The significant problems we face cannot be solved at the same level of thinking we were at
when we created them." -Einstein

On Oct 4, 2012, at 7:39 AM, Steve Koppelman wrote:

> Running couchdb 0.10, 1.0.1 and 1.1.1 over the last couple of years, I
> got very familiar with the shortcomings of continuous replication.
> Replication would simply stop without warning at some point, but the
> replication document's status would remain "triggered". Eventually, I
> just set up a cron job that periodically wiped out the entire
> _replicator database and repopulated a new one. It was horrible, but
> was less of a hassle than writing code to iterate through all the
> replication relationships and compare the nodes' last-updated-document
> timestamps for applications that could deal with a few minutes'
> replication lag.
> 
> As I build out a new cluster, I'm curious to know whether it's safe to
> trust a replication job's reported state under 1.2.0, or if there's
> another recommended way to go. This isn't a banking or airline booking
> system, so some replication lag is fine as long as there's eventual
> consistency.
> 
> Rgds., etc.
> 
> -sk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message