请参阅http://wiki.apache.org/couchdb/Replication中的以下代码。请注意,docs_written = docs_read,但progress = 3.为什么不是progress = 100?
另外,couchdb和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
}
]
答案 0 :(得分:2)
因为17333 * 100/551202 = 3。