incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Mancini <gabriel.manc...@gmail.com>
Subject Re: is _/replicator persistently stored?
Date Fri, 05 Oct 2012 19:59:39 GMT
on _replicator data base create a doc like this:


{
   "_id": "idofyourreplication",
   "source": "http://<HOSTNAME>:5984/DB",
   "target": "DB",
   "continuous": true
}

when start your doc will be updated to something link this

{
   "_id": "idofyourreplication",
   "source": "http://<HOSTNAME>:5984/DB",
   "target": "DB",
   "continuous": true,
   "owner": "admin",
   "_replication_state": "triggered",
   "_replication_state_time": "2012-10-03T03:52:12+00:00",
   "_replication_id": "3793d02c04fe8e3b2b22eed14dd57d16"
}

see the logs to know whats is happend if this occour
( "_replication_state": "error" )


Gabriel

On Fri, Oct 5, 2012 at 5:10 AM, Benoit Chesneau <bchesneau@gmail.com> wrote:

> On Fri, Oct 5, 2012 at 8:47 AM, svilen <az@svilendobrev.com> wrote:
> > on my machine, i setup some bi-dir replications, and they go in
> > _replicator. Then i reboot, or shutdown.. and they're gone.
> >
> > so is it persisted, or a virtual in-memory thing?
> >
>
> _replicator is a database.
>
>
> - benoît
>



-- 
Gabriel Mancini de Campos
Arquiteto de Soluções

+55 (11) 9449-1706
gabriel.mancini@gmail.com
São Paulo - SP - Brasil

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