1

我们在生产系统中得到以下扩展,在 8400 万次调用中的一些时间示例 10000 次我们得到了这个异常

voldemort.store.InsufficientOperationalNodesException: 1 get alls required,但 0 成功。失败的节点:[]

我试图增加 Voldemort ClientConfig connection_timeout 和 sockettimeout 但直到收到此错误。

我们的配置:

商店.xml:

<stores>
<store>
  <name>test</name>
  <persistence>bdb</persistence>
  <description>test</description>
  <owners>test</owners>
  <routing-strategy>consistent-routing</routing-strategy>
  <routing>client</routing>
  <replication-factor>1</replication-factor>
  <required-reads>1</required-reads>
  <required-writes>1</required-writes>
  <key-serializer>
    <type>string</type>
  </key-serializer>
  <value-serializer>
    <type>string</type>
  </value-serializer>
</store>
</stores>

服务器属性

node.id=0
# configs
admin.enable=true
admin.max.threads=40
bdb.cache.evictln=true
bdb.cache.size=12GB
bdb.checkpoint.interval.bytes=2147483648
bdb.checkpointer.off.batch.writes=true
bdb.cleaner.interval.bytes=15728640
bdb.cleaner.lazy.migration=false
bdb.cleaner.min.file.utilization=0
bdb.cleaner.threads=1
bdb.enable=true
bdb.evict.by.level=true
bdb.expose.space.utilization=true
bdb.lock.nLockTables=94
bdb.minimize.scan.impact=true
bdb.one.env.per.store=true
enable.server.routing=false
enable.verbose.logging=false
http.enable=true
nio.connector.selectors=100
num.scan.permits=2
request.format=vp3
restore.data.timeout.sec=1314000
scheduler.threads=24
slop.frequency.ms=300000
socket.enable=true
storage.configs=voldemort.store.bdb.BdbStorageConfiguration, 
voldemort.store.readonly.ReadOnlyStorageConfiguration
stream.read.byte.per.sec=209715200
stream.write.byte.per.sec=78643200

集群.xml

<cluster>
        <name>myprodcluster</name>
        <server>
                <id>0</id>
                <host>192.168.1.10</host>
                <http-port>8081</http-port>
                <socket-port>6666</socket-port>
                <admin-port>7777</admin-port>
                <partitions>0, 1</partitions>
        </server>
</cluster>

我们有单节点集群

你能帮我解决这个问题吗

4

0 回答 0