分布式 OrientDB 在 kubernetes 中相互连接的问题

问题描述

我们在 Kubernetes 的 2 个不同区域部署了一个分布式 orientdb, 我们计划在两个orientdb中更改root密码 更改密码后,其中一个集群正常工作,但另一个集群开始提供以下日志,

DB name=“OurDB”
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:323)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:259)
at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:988)
at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:958)
at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:949)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.openDatabase(ONetworkProtocolBinary.java:915)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.handshakeRequest(ONetworkProtocolBinary.java:249)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:214)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:82)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Cannot open storage it is acquired by other process
and this–
DB name=“OSystem”
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedStorageDirtyFlag.lockFile(OPaginatedStorageDirtyFlag.java:109)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedStorageDirtyFlag.open(OPaginatedStorageDirtyFlag.java:142)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.preOpenSteps(OLocalPaginatedStorage.java:438)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:271)
… 18 more
$ANSI{green {db=videoDB}} authenticate()
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage ‘/orientdb/databases/OSystem’ with mode=rw

“”

当我们尝试更改管理员密码时,它给出了 com.orientechnologies.orient.server.distributed.OdistributedException:无法在服务器“server2 name”上达到法定人数(2),因为它比可用节点(1)重要(1)

为什么 orientdb 要在 mode=rw 中打开 OSystem db?它不是由我们创建的,并且 OSystem 数据库是空的。 为什么一个集群中的数据库允许我更改密码,而另一个集群却给我 Ouorum 问题?

提前致谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)