CouchDB 复制是否需要系统管理员或数据库管理员?

Does CouchDB replication require an admin of the system or the database admin?

我在名为 test 的数据库上设置了一些安全措施。

名为“user_test”的用户不是系统管理员。因此,他拥有test数据库的admin权限和member权限。

如前所述:

Creating design documents is restricted to admins, and if the replication is triggered without admin credentials, writing the design documents during replication will fail and be recorded as doc_write_failures. If you have admins, be sure to include the credentials in the replication request:

因为他们指的是设计文档,所以我在考虑数据库管理员。

因此,当我尝试在 _replicator 数据库中设置复制文档时,使用“user_text”凭据的连接“挂起”。

如果我使用我的系统管理员,复制会立即触发。

所以我的问题是:

targetsource属性中,我需要输入系统管理员凭证还是数据库管理员凭证?

更新

自动触发使用系统管理员设置复制(好)。

如果我使用数据库管理员,则不会发生任何事情。甚至没有错误。这有点奇怪,因为它适用于其他电脑...

供您参考,在测试和修复一些错误后,我发现您可以使用非系统管理员进行复制。

即使很艰难,我的复制也有一些问题存在错误。我最终清除了 _replicator 中损坏的文档并重新启动了每个实例,一切都得到了修复。