You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Rogutės Sparnuotos (Created JIRA)" <ji...@apache.org> on 2011/11/29 00:59:40 UTC
[jira] [Created] (COUCHDB-1349) _replicator docs should include the
additional info from _active_tasks
_replicator docs should include the additional info from _active_tasks
----------------------------------------------------------------------
Key: COUCHDB-1349
URL: https://issues.apache.org/jira/browse/COUCHDB-1349
Project: CouchDB
Issue Type: Improvement
Components: Replication
Reporter: Rogutės Sparnuotos
Priority: Minor
There are some nice replication stats at /_active_tasks. I think that these should be exposed in the corresponding /_replicator documents (well, at least the first 3):
{
"doc_write_failures": 0,
"docs_read": 0,
"docs_written": 0,
"updated_on": 1322521694,
"started_on": 1322521569
}
This would make it easier to map a replication doc to its status.
This would benefit Futon, which currently seems to have only a limited interface to /_active_tasks.
This would bring _replicator closer to the old _replicate API, which returns the stats after one-time replication:
{
"ok": true,
"no_changes": true,
"session_id": "6647e26bc340b706bcf8f3c1ca709846",
"source_last_seq": 95,
"replication_id_version": 2,
"history": [
{
"session_id": "6647e26bc340b706bcf8f3c1ca709846",
"start_time": "Mon, 28 Nov 2011 23:44:28 GMT",
"end_time": "Mon, 28 Nov 2011 23:44:33 GMT",
"start_last_seq": 0,
"end_last_seq": 95,
"recorded_seq": 95,
"missing_checked": 24,
"missing_found": 24,
"docs_read": 24,
"docs_written": 24,
"doc_write_failures": 0
}
]
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (COUCHDB-1349) _replicator docs should include
the additional info from _active_tasks
Posted by "Filipe Manana (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Manana reassigned COUCHDB-1349:
--------------------------------------
Assignee: Filipe Manana
> _replicator docs should include the additional info from _active_tasks
> ----------------------------------------------------------------------
>
> Key: COUCHDB-1349
> URL: https://issues.apache.org/jira/browse/COUCHDB-1349
> Project: CouchDB
> Issue Type: Improvement
> Components: Replication
> Reporter: Rogutės Sparnuotos
> Assignee: Filipe Manana
> Priority: Minor
>
> There are some nice replication stats at /_active_tasks. I think that these should be exposed in the corresponding /_replicator documents (well, at least the first 3):
> {
> "doc_write_failures": 0,
> "docs_read": 0,
> "docs_written": 0,
> "updated_on": 1322521694,
> "started_on": 1322521569
> }
> This would make it easier to map a replication doc to its status.
> This would benefit Futon, which currently seems to have only a limited interface to /_active_tasks.
> This would bring _replicator closer to the old _replicate API, which returns the stats after one-time replication:
> {
> "ok": true,
> "no_changes": true,
> "session_id": "6647e26bc340b706bcf8f3c1ca709846",
> "source_last_seq": 95,
> "replication_id_version": 2,
> "history": [
> {
> "session_id": "6647e26bc340b706bcf8f3c1ca709846",
> "start_time": "Mon, 28 Nov 2011 23:44:28 GMT",
> "end_time": "Mon, 28 Nov 2011 23:44:33 GMT",
> "start_last_seq": 0,
> "end_last_seq": 95,
> "recorded_seq": 95,
> "missing_checked": 24,
> "missing_found": 24,
> "docs_read": 24,
> "docs_written": 24,
> "doc_write_failures": 0
> }
> ]
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (COUCHDB-1349) _replicator docs should include
the additional info from _active_tasks
Posted by "Filipe Manana (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Manana resolved COUCHDB-1349.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.2
Applied to master and 1.2.x
> _replicator docs should include the additional info from _active_tasks
> ----------------------------------------------------------------------
>
> Key: COUCHDB-1349
> URL: https://issues.apache.org/jira/browse/COUCHDB-1349
> Project: CouchDB
> Issue Type: Improvement
> Components: Replication
> Reporter: Rogutės Sparnuotos
> Assignee: Filipe Manana
> Priority: Minor
> Fix For: 1.2
>
>
> There are some nice replication stats at /_active_tasks. I think that these should be exposed in the corresponding /_replicator documents (well, at least the first 3):
> {
> "doc_write_failures": 0,
> "docs_read": 0,
> "docs_written": 0,
> "updated_on": 1322521694,
> "started_on": 1322521569
> }
> This would make it easier to map a replication doc to its status.
> This would benefit Futon, which currently seems to have only a limited interface to /_active_tasks.
> This would bring _replicator closer to the old _replicate API, which returns the stats after one-time replication:
> {
> "ok": true,
> "no_changes": true,
> "session_id": "6647e26bc340b706bcf8f3c1ca709846",
> "source_last_seq": 95,
> "replication_id_version": 2,
> "history": [
> {
> "session_id": "6647e26bc340b706bcf8f3c1ca709846",
> "start_time": "Mon, 28 Nov 2011 23:44:28 GMT",
> "end_time": "Mon, 28 Nov 2011 23:44:33 GMT",
> "start_last_seq": 0,
> "end_last_seq": 95,
> "recorded_seq": 95,
> "missing_checked": 24,
> "missing_found": 24,
> "docs_read": 24,
> "docs_written": 24,
> "doc_write_failures": 0
> }
> ]
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1349) _replicator docs should include
the additional info from _active_tasks
Posted by "Filipe Manana (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159203#comment-13159203 ]
Filipe Manana commented on COUCHDB-1349:
----------------------------------------
Sounds good Rogutės.
All the necessary infrastructure is already there.
> _replicator docs should include the additional info from _active_tasks
> ----------------------------------------------------------------------
>
> Key: COUCHDB-1349
> URL: https://issues.apache.org/jira/browse/COUCHDB-1349
> Project: CouchDB
> Issue Type: Improvement
> Components: Replication
> Reporter: Rogutės Sparnuotos
> Priority: Minor
>
> There are some nice replication stats at /_active_tasks. I think that these should be exposed in the corresponding /_replicator documents (well, at least the first 3):
> {
> "doc_write_failures": 0,
> "docs_read": 0,
> "docs_written": 0,
> "updated_on": 1322521694,
> "started_on": 1322521569
> }
> This would make it easier to map a replication doc to its status.
> This would benefit Futon, which currently seems to have only a limited interface to /_active_tasks.
> This would bring _replicator closer to the old _replicate API, which returns the stats after one-time replication:
> {
> "ok": true,
> "no_changes": true,
> "session_id": "6647e26bc340b706bcf8f3c1ca709846",
> "source_last_seq": 95,
> "replication_id_version": 2,
> "history": [
> {
> "session_id": "6647e26bc340b706bcf8f3c1ca709846",
> "start_time": "Mon, 28 Nov 2011 23:44:28 GMT",
> "end_time": "Mon, 28 Nov 2011 23:44:33 GMT",
> "start_last_seq": 0,
> "end_last_seq": 95,
> "recorded_seq": 95,
> "missing_checked": 24,
> "missing_found": 24,
> "docs_read": 24,
> "docs_written": 24,
> "doc_write_failures": 0
> }
> ]
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira