Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-03-20 Thread Roger Sindreu
Hi Any inputs on these? We are planning to upgrade to 1.6.1 to see if this issue is improved... Any recommendation? Is it possible to run in a cluster different versions of couchdb (1.2.2 and 1.6.1 for instance) with replication among them? On Wed, Mar 4, 2015 at 11:27 AM, Roger Sindreu wrote:

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-03-04 Thread Roger Sindreu
Hi I have tried deleting the single validate_doc function we had but it seems it still happens the same. This is our replication filter in case it helps: "replication": "function(doc, request) { if (doc[\".type\"] == \"update_log\" && doc._deleted) { return false; } if (doc._

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-25 Thread Alexander Shorin
On Thu, Feb 26, 2015 at 1:23 AM, Alexander Shorin wrote: > On Wed, Feb 25, 2015 at 12:00 PM, Roger Sindreu wrote: >> Any way to know what document is stopping? Actually the replication is >> missing something like 40 documents, but right now I don't know which >> documents are among the 400K docu

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-25 Thread Alexander Shorin
On Wed, Feb 25, 2015 at 12:00 PM, Roger Sindreu wrote: > Any way to know what document is stopping? Actually the replication is > missing something like 40 documents, but right now I don't know which > documents are among the 400K documents our database has. For now, you'd only grep the logs and

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-25 Thread max
Hi, have you tried to turn off all your validate_doc_update ? I faced the same probleme than you and it was just the validation function preventing replicated documents to be written. Le 25 févr. 2015 10:01, "Roger Sindreu" a écrit : > Hi Riyad, all > > Thanks for the response. I am still having

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-25 Thread Roger Sindreu
Hi Riyad, all Thanks for the response. I am still having this issue... your explanation could be reasonable, because the replication breaks in one direction but not in the other one. Is this something fixed in newer versions? Any way to know what document is stopping? Actually the replication is

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-06 Thread Riyad Kalla
I am polling my spotty long-term memory, but this sounds similar to an issue someone had from last year where one of his attachments had become corrupt and it was doing the same thing, stopping replication at the exact same spot. Once the attachment was removed from the doc, replication was fine ag

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-06 Thread Roger Sindreu
How big they would have to be to be problematic? They are very small (like 30mb) maximum... Could this be a bug? On Thu, Feb 5, 2015 at 10:46 PM, Giovanni P wrote: > I don't know. Can it be attachments? > > On Thu, Feb 5, 2015 at 5:19 PM, Roger Sindreu wrote: > > > Any suggestions/ideas on tha

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-05 Thread Giovanni P
I don't know. Can it be attachments? On Thu, Feb 5, 2015 at 5:19 PM, Roger Sindreu wrote: > Any suggestions/ideas on that? > > Any help will be appreciated. > > Thanks > > On Mon, Feb 2, 2015 at 11:57 AM, Roger Sindreu > wrote: > >> Hi everyone, >> >> Nice to be here and thanks everyone for the

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-05 Thread Roger Sindreu
Any suggestions/ideas on that? Any help will be appreciated. Thanks On Mon, Feb 2, 2015 at 11:57 AM, Roger Sindreu wrote: > Hi everyone, > > Nice to be here and thanks everyone for their support to couchdb. > > We have a installation with couchdb 1.2.2 (a few gigabytes and hundreds of > thousa

Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-02 Thread Roger Sindreu
Hi everyone, Nice to be here and thanks everyone for their support to couchdb. We have a installation with couchdb 1.2.2 (a few gigabytes and hundreds of thousands of documents), with 3 machines being replicated. Our issue is that the replication from one machine to the other two will never get