[jira] [Commented] (COUCHDB-1230) Replication slows down over time

2011-07-22 Thread Paul Hirst (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13069505#comment-13069505 ] Paul Hirst commented on COUCHDB-1230: - It's quite likely I could borrow some

create_target isn't working with the _replicator db

2011-07-22 Thread Benoit Chesneau
Hi all, While testing the _replicator db I encounter an error when trying to create the target db . Before opening a ticket I wanted to make sure this wasn't expected or if its an error. The error: $ curl -XPUT -HContent-Type: application/json localhost:5984/a {ok:true} $ curl -XPUT

[jira] [Updated] (COUCHDB-1202) Function 'require' undefined in reduce functions, cannot require CommonJS module

2011-07-22 Thread Dipesh Patel (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dipesh Patel updated COUCHDB-1202: -- Attachment: reduce_lib.patch Hello, I've attempted a patch for this. Please find attached.

Re: create_target isn't working with the _replicator db

2011-07-22 Thread kowsik
If you have credentials and roles defined on the target DB, you need to set the the user_ctx in the _replicator doc. Something like this: { source ..., user_ctx: { roles: [ admin ] } }. K. --- http://blitz.io @pcapr On Fri, Jul 22, 2011 at 4:56 AM, Benoit Chesneau bchesn...@gmail.com wrote: Hi

Re: create_target isn't working with the _replicator db

2011-07-22 Thread Benoit Chesneau
On Fri, Jul 22, 2011 at 4:59 PM, kowsik kow...@gmail.com wrote: If you have credentials and roles defined on the target DB, you need to set the the user_ctx in the _replicator doc. Something like this: { source ..., user_ctx: { roles: [ admin ] } }. K. --- http://blitz.io @pcapr Yup, but

Re: create_target isn't working with the _replicator db

2011-07-22 Thread Filipe David Manana
On Fri, Jul 22, 2011 at 8:43 AM, Benoit Chesneau bchesn...@gmail.com wrote: Yup, but I think that's a bug then. I shouldn't have to set any userctx imo. If no admin has been set, every user is an admin except if we change the default behavior and then it's not consistent. This was discussed

Re: create_target isn't working with the _replicator db

2011-07-22 Thread Benoit Chesneau
On Fri, Jul 22, 2011 at 5:54 PM, Filipe David Manana fdman...@apache.org wrote: On Fri, Jul 22, 2011 at 8:43 AM, Benoit Chesneau bchesn...@gmail.com wrote: Yup, but I think that's a bug then. I shouldn't have to set any userctx imo. If no admin has been set, every user is an admin except if

Re: create_target isn't working with the _replicator db

2011-07-22 Thread Randall Leeds
On Fri, Jul 22, 2011 at 09:40, Benoit Chesneau bchesn...@gmail.com wrote: On Fri, Jul 22, 2011 at 5:54 PM, Filipe David Manana fdman...@apache.org wrote: On Fri, Jul 22, 2011 at 8:43 AM, Benoit Chesneau bchesn...@gmail.com wrote: Yup, but I think that's a bug then. I shouldn't have to set any

Re: create_target isn't working with the _replicator db

2011-07-22 Thread Randall Leeds
On Fri, Jul 22, 2011 at 11:26, Randall Leeds randall.le...@gmail.com wrote: On Fri, Jul 22, 2011 at 09:40, Benoit Chesneau bchesn...@gmail.com wrote: On Fri, Jul 22, 2011 at 5:54 PM, Filipe David Manana fdman...@apache.org wrote: On Fri, Jul 22, 2011 at 8:43 AM, Benoit Chesneau

Scheduled Compaction

2011-07-22 Thread Vish Vishvanath
Hi all, Just working on a system that is generating a considerable number of revisions, and would like to know whether the list has suggestions on best practice for regular compaction. Thanks Vish