Couchdb复制进度监视 [英] Couchdb Replication Progress Monitoring

查看:70
本文介绍了Couchdb复制进度监视的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参见 http://wiki.apache.org/couchdb/Replication 中的以下代码。请注意,docs_writer = docs_read,但progress =3。为什么不是progress = 100?

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?

此外,couchdb和榻榻米之间会有什么区别吗?

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
    }
]


推荐答案

因为17333 * 100/551202 = 3。

Because 17333 * 100 / 551202 = 3.

这篇关于Couchdb复制进度监视的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆