沙发数据库futon - 有没有办法取消使用 futon 的连续复制
有没有办法取消使用 futon 的连续复制?
我的一位开发人员在尝试将模板数据库复制到他的工作环境时开始遇到这个有趣的错误。
Replicator failed:
{error,{'EXIT',{badarg,[{erlang,apply,[gen_server,start_link,undefined]},
{supervisor,do_start_child,2},
{supervisor,handle_call,3},
{get_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}}
经过一段时间的摆弄并测试后,我设法重现了该问题,我发现他可能错误地选中了蒲团中的“连续”复选框。
现在,我们正在开发 Windows。没有魔法卷曲的东西。嗯,显然我可以在 Linux 上为他解决问题,但我很好奇。
有没有办法取消使用 futon 的连续复制?
Is there a way to cancel a continuous replication using futon ?
One of my developers started getting this funny error, when trying to replicate a template DB to his work environment.
Replicator failed:
{error,{'EXIT',{badarg,[{erlang,apply,[gen_server,start_link,undefined]},
{supervisor,do_start_child,2},
{supervisor,handle_call,3},
{get_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}}
After fiddling with it for a while, and testing I managed to reproduce the problem, I found that he probably checked by mistake the "continous" checkbox in the futon.
Now, we're working on windows. no magic curl thing. Well, obviously I can solve the problem for him from a linux, but I'm curious.
Is there a way to cancel a continuous replication using futon?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
删除相应的复制文档。
在 futon 中你会看到一个 _replicator 数据库。单击它,您将看到文档列表。每个文档都是从源到目标的单向复制。找到有问题的文档,然后删除该文档。 Couch 将立即停止复制任务。但是,它不会删除任何已复制的文档。
Delete the appropriate replication document.
In futon you'll see a _replicator database. Click on that and you'll see a list of docs. Each doc is a one-way replication from a source to a target. Find the offending one, and then just delete that document. Couch will immediately stop the replication task. It will not, however, remove any documents that were already replicated.