[
https://issues.apache.org/jira/browse/COUCHDB-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983365#action_12983365
]
Nikolai Teofilov commented on COUCHDB-1011:
-------------------------------------------
Hi Filipe,
1) I will try your suggestions this days.
2) I have implemented this on CouchDBX 1.1 trunk 102936 and the replication
with doc IDs did not work
simultaneously with the continuos replication and this was the reason to put
separated messages.
I did following test:
1. Create two local dbs "test1" and "test2".
2. In database "test1" created three documents "a", "b", "c"
3. Started a continuous replication from the new Futon interface:
The post http header was:
{"source":"test1","target":"test2","continuous":true,"doc_ids":["a"]}
The status message was: "Replication2 db9fb: test1 ->
test2<0.1280.0>Starting"
5. Then I changes the document "test1/a" by appending a new filed.
What I expected was to see this change replicated to the "test2/a" but nothing
happened.
I also tried between my local 1.1 couchdb and my couchone account 1.0.1
continuous replication + doc ID did not work as well.
One point still is unclear to me: after replication is done the replication
session appears under the 'Event' table otherwise
the default label is shown "No replication". I think there should be new
message that indicate the start of continuous replication or
completing of a replication by doc IDs or the combination of both.
The question is whether something should be shown under the 'Event' table by
triggering the continuous replication or
replication by doc IDs and if yes what will be the message?
The _local_id is already shown in the event table and will be redundant to
display this twice (as a replication session).
By triggering the replication by doc ID only, there is no similar information
like session ID
to be shown and the whole response appears in the event table like:
{"ok":true,"start_time":"Tue, 18 Jan 2011 20:02:01 GMT","end_time":"Tue, 18 Jan
2011 20:02:02 GMT","docs_read":1,"docs_written":1,"doc_write_failures":0}.
It is also strange to show the default message "No replication" since there was
one triggered or completed.
This is why I came up with two messages showing the status of completed
replication ("Named document replication" or "Continuous replication") instead
the "No replication" message.
Cheers,
Nikolai
> Add replication by doc-IDs to Futon
> -----------------------------------
>
> Key: COUCHDB-1011
> URL: https://issues.apache.org/jira/browse/COUCHDB-1011
> Project: CouchDB
> Issue Type: New Feature
> Components: Futon
> Reporter: Filipe Manana
> Priority: Minor
> Attachments: COUCHDB-1011.patch
>
>
> Currently Futon doesn't allow users to trigger replications by doc-IDs.
> This would be a nice addition and a good starting point for new contributors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.