Couchdb Replication Progress Monitoring

☆樱花仙子☆ 提交于 2019-12-24 07:46:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!