crate 版本:1.1.3 将数据插入 crate 后,我向 activemq 发送密钥以立即查询此数据,但不幸的是,每次都失败,所以我将线程休眠 2000ms,它工作了,所以我猜集群需要一些时间在这里同步数据是 crate.yaml:
psql.enabled: true
psql.port: 33892
prepareThreshold: 0
http.max_content_length: 150mb
indices.store.throttle.max_bytes_per_sec: 150mb
threadpool.bulk.type: fixed
threadpool.bulk.size: 128
threadpool.bulk.queue_size: 5000
cluster.name: EIn_Cluster
node.name: dscn1
index.number_of_replicas: 2
path.conf: /home/hadmin/crate/config
path.data: /home/hadmin/data/crate
path.work: /home/hadmin/data/crate/tmp
path.logs: /home/hadmin/data/crate/logs
path.plugins: /home/hadmin/crate/plugins
blobs.path: /home/hadmin/data/crate/crate_blob_data/disk
network.host: 192.168.13.50
gateway.recover_after_nodes: 3
discovery.zen.minimum_master_nodes: 3
gateway.expected_nodes: 3
discovery.zen.ping.timeout: 10s
discovery.zen.fd.ping_interval: 10s
#transport.tcp.port: 4399
discovery.zen.ping.unicast.hosts:
- dscn1:4300
- dscn2:4300
- dscn3:4300
这与多区域设置有关吗?或者我错过了一些设置?如何避免这种情况
谢谢