复制未开始 [英] Replication Not Starting

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

问题描述

curl http:// usrname:password@192.168.1.10:5985 / _active_tasks 显示以下内容。

特别是checkpointed_source_seq:0。所以我的复制显然没有完成。是由于源服务器(iriscouch.org)缺乏响应吗?

In particular checkpointed_source_seq": 0. So my replication apparently isn't getting done. Is that due to a lack of response from the source server (iriscouch.org)?

我不确定是否重要,但是我也很好奇知道复制逻辑在目标或源上发生的位置。

I'm not sure if it matters, but I'm also curious to know where the replication "logic" is happening, on the target or the source.

(我重新启动了ouchdb,并且checkpointed_source_seq仍然为0,但是docs_read,docs_write,missing_revisions_found和revisions_checked都跳到了5。一段时间后,一切都停留在5。目标是在Android上运行的旧couchbase移动设备,因此问题可能出在

(I restarted my couchdb and the checkpointed_source_seq is still 0, but docs_read, docs_written, missing_revisions_found and revisions_checked all jumped to 5. And after sometime, everything is stuck at 5. The target is the old couchbase mobile running on Android, so maybe the problem is on the target and not a lack of response from the source.)

[
    {
        "pid": "<0.242.0>",
        "checkpointed_source_seq": 0,
        "continuous": false,
        "doc_write_failures": 0,
        "docs_read": 0,
        "docs_written": 0,
        "missing_revisions_found": 0,
        "progress": 0,
        "replication_id": "477dc6e34c791f161a2d47d742b349cd",
        "revisions_checked": 0,
        "source": "https://username:*****@myprj.iriscouch.com/myprj/",
        "source_seq": 342,
        "started_on": 1372285819,
        "target": "http://usrname:*****@0.0.0.0:5985/myprj/",
        "type": "replication",
        "updated_on": 1372287887
    }
]


推荐答案

事实证明,问题出在使用https vs http进行复制,至少(和希望如此)使用iriscouch.com。

It turns out that the problem is using https vs http for replication, at least (and hopefully only) with iriscouch.com.

我遇到了此帖子,切换到了http,复制现在可以正常进行了。当然,我的用户名和密码是明文发送的。

I came across this post, switched to http and replication is now working OK. Except of course, my username and password are being sent in the clear.

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

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