我正在为我的项目使用 Oriednt DB enterprose 2.2.9 版本。我现在已经设置了 2 个服务器集群并在分布式环境中实现了分片。但是当我使用传送器从 RDBMS 中提取数据时,数据没有分发。它只是在两台服务器中复制数据。所以你能帮我设置一个分布式环境吗
我的配置文件如下:-
default-distributed-db-config.json:- { "replication": true, "clusters": { "internal": { "replication": false }, "index": { "replication": false }, "ODistributedConflict" : { "replication": false }, "*": { "replication": true, "writeQuorum": 2, "partitioning": { "strategy": "round-robin", "default": 0, "partitions" : [ [ "manoj" ], [ "vishnu" ] ] } } } }
hazelcast.xml orientdb orientdb 假 假 假 5 1 1 1 1
</properties>
<network>
<port auto-increment="true">2434</port>
<join>
<multicast enabled="false">
<multicast-group>235.1.1.1</multicast-group>
<multicast-port>2434</multicast-port>
</multicast>
<tcp-ip enabled="true">
<member>10.22.20.101:2434</member>
<member>10.22.20.122:2434</member>
</tcp-ip>
</join>
</network>
<executor-service>
<pool-size>16</pool-size>
</executor-service>