简体   繁体   English

PouchDB复制与CouchDB的版本兼容性

[英]Version-Compatbility for PouchDB-Replication with CouchDB

I have an Angular6-App with a PouchDB 7 where I plan a replication to a CouchDB-Server. 我有一个带有PouchDB 7的Angular6-App,我计划在其中复制到CouchDB服务器。 The current option is a CouchDB-Server in version 1.6 only. 当前选项是仅在1.6版中的CouchDB服务器。

So the question is, if a replication form PouchDB in version 7 to this CouchDB in version 1.6 can work (for a two-way-replication so that different Angular-Clients can exchange changes over this CouchDB-Server). 所以问题是,是否可以将版本7中的PouchDB复制到版本1.6中的CouchDB(进行双向复制,以便不同的Angular-Client可以在此CouchDB服务器上交换更改)。

I can't find any compatibillity list in the net to this topic... Some hint's would be apprieciated. 我在网上找不到与此主题相关的任何兼容性列表...某些提示将不胜感激。

CouchDB and PouchDB use the same replication protocol. CouchDB和PouchDB使用相同的复制协议。 There are some optimizations introduced in CouchDB 2.x, but PouchDB 7 will still be able to sync without a problem in CouchDB 1.6. CouchDB 2.x中引入了一些优化,但是PouchDB 7仍然可以在CouchDB 1.6中进行同步而不会出现问题。

However, you absolutely should not use CouchDB 1.6!! 但是,您绝对不应该使用CouchDB 1.6! 1.6 had some very serious security flaws , which can essentially allow anyone to execute arbitrary code on your server. 1.6有一些非常严重的 安全漏洞 ,从根本上讲 ,任何人都可以在您的服务器上执行任意代码。 These were fixed in 1.7 and later. 这些问题已在1.7及更高版本中修复。 So please upgrade to at least 1.7.1 immediately! 因此,请立即至少升级到1.7.1!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM