CouchDB的复制进度监控(Couchdb Replication Progress Monito

2019-11-02 05:56发布

看到下面的代码http://wiki.apache.org/couchdb/Replication 。 请注意,docs_written = docs_read,但进展= 3.为什么不进步= 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
    }
]

Answer 1:

因为17333 *五十五万一千二百○二分之百= 3。



文章来源: Couchdb Replication Progress Monitoring