Orientdb分布式模式.Net客户端错误

时间:2016-11-01 15:59:54

标签: .net orientdb orientdb2.2

我在分布式模式下设置了OrientDB Community Edition v2.2.8,其中2个节点在前面有一个负载均衡器(F5)。我有一个.net应用程序使用.net客户端(OrientDB-Net.binary.Innov8tive.0.1.11)写入数据库。当应用程序尝试保存到数据库时,我收到此错误

Orient.Client.OException: com.orientechnologies.orient.server.distributed.ODistributedConfigurationChangedException: Local node 'app04' is not the master for cluster 'firm' (it is 'app03')
    DB name="TESTDB"

我尝试直接连接到负载均衡网址和节点。我总是得到同样的错误。我在这两个顶点之间保存了2种不同类型的顶点和一条边。根据我尝试连接的节点,我在其中一个不在该特定节点上的对象上收到错误。 我在我的应用中创建了这样的连接

  using (ODatabase database = new ODatabase(_hostname, _port, _databaseName, ODatabaseType.Graph, _username, _password, _databaseAlias))
  {
      .....
      .....
  }

我在.net客户端上找不到分布式模式的任何特定设置。有什么东西我不见了吗?

0 个答案:

没有答案