就在几天前,我在生产环境中从CouchDB 1.6.1迁移到2.1.1。 couchup replicate
步骤是永远的,然后我注意到大多数连续拉动复制正在运行,所以我认为必须放慢速度。
所以我删除了_replicator
数据库中的所有连续复制文档,希望这会停止复制。它没有。我甚至重新启动了CouchDB,并且仍在进行连续复制。
如果我查看Fauxton的“复制”部分,则两个选项卡都为空。但是,当我查看“任务”部分时,连续复制仍在运行,3天后。
如何停止连续复制?
===========================================
UPDATED 2018/03/27 21:00 UTC
尝试从_scheduler
删除,但是除了GET和HEAD之外我不允许我做任何事情。我已经以系统管理员身份登录了。 (FWIW,_scheduler
未显示为数据库)。
# curl -k -X GET 'http://localhost:5984/_scheduler/jobs/5e9bf92325eee5caff026e47197f9c3d+continuous+create_target' -u couchdbadmin:XXXXXXXX
{"database":"_replicator","id":"5e9bf92325eee5caff026e47197f9c3d+continuous+create_target","pid":"<0.606.0>","source":"http://couchdbadmin:*****@prdpccggww3n03.w3-969.ibm.com:5984/youribm-timeinout/","target":"http://couchdbadmin:*****@localhost:5984/youribm-timeinout/","user":null,"doc_id":"youribm-timeinout-continuous-replication-from-primary","history":[{"timestamp":"2018-03-24T00:01:41Z","type":"started"},{"timestamp":"2018-03-24T00:01:41Z","type":"added"}],"node":"couchdb@127.0.0.1","start_time":"2018-03-24T00:01:41Z"}
# curl -k -X DELETE 'http://localhost:5984/_scheduler/jobs/5e9bf92325eee5caff026e47197f9c3d+continuous+create_target' -u couchdbadmin:XXXXXXXX
{"error":"method_not_allowed","reason":"Only GET,HEAD allowed"}