由于服务器发生更改,因此我尝试将我的couchdb带到其他服务器。 要将文档带到新服务器,我喜欢使用复制功能。
源和目标是 couchdb 2.1.1
sourche-DB有5275个文档,复制后目标DB-上只有2042个文档。
我试图更新数据库,并让复制创建一个新的数据库。
在复制文档中,我可以看到许多 doc_write_failures ,这是什么原因引起的? 还有其他日志可以查看出什么问题了吗?
{
"_id": "sync 1.0",
"_rev": "2-38c27890daa785c49925a1272d745e10",
"user_ctx": {
"name": null,
"roles": [
"_admin",
"_reader",
"_writer"
]
},
"source": {
"headers": {
"Authorization": "Basic YWRtaW46TURTdGF0"
},
"url": "XXX"
},
"target": {
"headers": {},
"url": "XXX"
},
"create_target": true,
"continuous": false,
"owner": null,
"_replication_state": "completed",
"_replication_state_time": "2019-10-15T12:28:54Z",
"_replication_stats": {
"revisions_checked": 5848,
"missing_revisions_found": 5848,
"docs_read": 5848,
"docs_written": 2324,
"changes_pending": null,
"doc_write_failures": 3524,
"checkpointed_source_seq": "24287-g1AAAABSeJzLYWBgYMxgTmEQTM4vTc5ISXLIyU9OzMnILy7JAUoxJTLksTD8B4KsDOYkBoa4-7lAUXZjg1QgMMKmKwsA914aPQ",
"start_time": "2019-10-15T12:28:30Z"
}
}