问题
See the following code from http://wiki.apache.org/couchdb/Replication. Notice that docs_written = docs_read, but progress = 3. Why isn't progress = 100?
Also, would there be any difference between couchdb and couchbase?
$ curl http://localhost:5984/_active_tasks
[
{
"pid": "<0.1303.0>",
"replication_id": "e42a443f5d08375c8c7a1c3af60518fb+create_target",
"checkpointed_source_seq": 17333,
"continuous": false,
"doc_write_failures": 0,
"docs_read": 17833,
"docs_written": 17833,
"missing_revisions_found": 17833,
"progress": 3,
"revisions_checked": 17833,
"source": "http://fdmanana.iriscouch.com/test_db/",
"source_seq": 551202,
"started_on": 1316229471,
"target": "test_db",
"type": "replication",
"updated_on": 1316230082
}
]
回答1:
Because 17333 * 100 / 551202 = 3.
来源:https://stackoverflow.com/questions/17329935/couchdb-replication-progress-monitoring