You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (JIRA)" <ji...@apache.org> on 2010/05/25 17:53:24 UTC

[jira] Created: (COUCHDB-776) _replicator DB

_replicator DB
--------------

                 Key: COUCHDB-776
                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
             Project: CouchDB
          Issue Type: New Feature
          Components: Replication
         Environment: trunk
            Reporter: Filipe Manana
         Attachments: replicator_db.patch

As discussed in the mailing list thread "_replicator DB" (May) -

http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E

The patch follows.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (COUCHDB-776) _replicator DB

Posted by Benoit Chesneau <bc...@gmail.com>.
full diff :

http://github.com/benoitc/couchdb/compare/ba95749f2912f972a22ca92441c02b886341285a..._replicator_db

- benoit

On Wed, Jul 7, 2010 at 12:15 AM, Benoit Chesneau (JIRA) <ji...@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Benoit Chesneau updated COUCHDB-776:
> ------------------------------------
>
>    Attachment: replicator admin.jpg
>
> I updated fdmanana patch by ading new replicator ui in futon. Other changes are :
>
> _ new replicator ui in futon : allows creation of new replication tasks, list  of completed, triggered or error tasks and deletion of a task
>
> - secure _replicator ui : only _admin and _replicator roles can read the db. So none can't see credentials used for replication (which are save in the doc).  None admin or _replicator roles can still start replicate by posting to _replicate (which have been changed). Check attached screenshot
>
> - new _replicate function
>
> Code is available here :
>
> http://github.com/benoitc/couchdb/tree/_replicator_db
>
>> _replicator DB
>> --------------
>>
>>                 Key: COUCHDB-776
>>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>>             Project: CouchDB
>>          Issue Type: New Feature
>>          Components: Replication
>>         Environment: trunk
>>            Reporter: Filipe Manana
>>            Assignee: Filipe Manana
>>         Attachments: replicator admin.jpg
>>
>>
>> As discussed in the mailing list thread "_replicator DB" (May) -
>> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
>> The patch follows.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Commented: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884906#action_12884906 ] 

Filipe Manana commented on COUCHDB-776:
---------------------------------------

Yes yes, I completely agree on that.
I just wanted to keep the ticket up to date, since the previously attached patch no longer applied cleanly to latest trunk and had 1 or 2 small issues.

I'll gladly apply it to trunk after 1.0 is out, for example.

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885996#action_12885996 ] 

Filipe Manana commented on COUCHDB-776:
---------------------------------------

Thanks for looking into it Benoît.

The Futon UI, besides being very useful, looks very good :)

About making the _replicator DB readable only by server admins, I'm not so sure if it should be like that by default. I think it's application specific.

Anyone who wants that behaviour should probably enforce it by editing the _security object of the _replicator DB.



> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>         Attachments: replicator admin.jpg
>
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-776:
----------------------------------

    Attachment:     (was: replicator_db.patch)

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-776:
----------------------------------

    Attachment: replicator_db.patch

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>         Attachments: replicator_db.patch
>
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-776:
----------------------------------

    Attachment:     (was: replicator_db.patch)

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana reassigned COUCHDB-776:
-------------------------------------

    Assignee: Filipe Manana

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Joseph Davis updated COUCHDB-776:
--------------------------------------

    Skill Level: Regular Contributors Level (Easy to Medium)

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>         Attachments: replicator admin.jpg
>
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884748#action_12884748 ] 

Filipe Manana commented on COUCHDB-776:
---------------------------------------

Most up to date patch (for trunk) at:

http://github.com/fdmanana/couchdb/compare/_replicator_db

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-776:
----------------------------------

    Attachment: replicator_db.patch

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>         Attachments: replicator_db.patch
>
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-776:
----------------------------------

    Attachment: replicator_db.patch

Just corrected some misspelled words in couch_rep_db_listener.erl.

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>         Attachments: replicator_db.patch, replicator_db.patch
>
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-776) _replicator DB

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884768#action_12884768 ] 

Chris Anderson commented on COUCHDB-776:
----------------------------------------

This applies cleaning and all tests pass for me. And it looks stable.

I think it will be worth waiting to apply this until after 1.0 is branched, not because I have any worries about the stability, but because I have a feeling people will be have useful feedback about some of the validation rules, and maybe other details about the API. I think it'd be healthy for the feature to sit in trunk and get some feedback before going into a release.

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Chesneau updated COUCHDB-776:
------------------------------------

    Attachment: replicator admin.jpg

I updated fdmanana patch by ading new replicator ui in futon. Other changes are :

_ new replicator ui in futon : allows creation of new replication tasks, list  of completed, triggered or error tasks and deletion of a task

- secure _replicator ui : only _admin and _replicator roles can read the db. So none can't see credentials used for replication (which are save in the doc).  None admin or _replicator roles can still start replicate by posting to _replicate (which have been changed). Check attached screenshot

- new _replicate function

Code is available here : 

http://github.com/benoitc/couchdb/tree/_replicator_db

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>         Attachments: replicator admin.jpg
>
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-776) _replicator DB

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-776:
----------------------------------

    Attachment:     (was: replicator_db.patch)

> _replicator DB
> --------------
>
>                 Key: COUCHDB-776
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-776
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>         Attachments: replicator_db.patch
>
>
> As discussed in the mailing list thread "_replicator DB" (May) -
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201005.mbox/%3CAANLkTilfNnG9fuXUxJB5CAZO6__MJaOgpIW4xtuZp-4j@mail.gmail.com%3E
> The patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.