3.0.3 irtual TxnErrorCode doris::cloud::fdb::Transaction::get(std::string_view, std::string *, bool)

Viewed 7

foundationdb 物理机部署
foundationdb.conf 配置如下:

[fdbmonitor]
user = root
 
[general]
cluster-file = /data/service/foundationdb/conf/fdb.cluster
restart-delay = 60
 
[fdbserver]
command        = /data/service/foundationdb/bin/fdbserver
datadir        = /data/foundationdb/data/$ID
logdir         = /data/logs/foundationdb/
public-address = auto:$ID
listen-address = public
 
[fdbserver.4500]
class=stateless
[fdbserver.4501]
class=transaction
[fdbserver.4502]
class=storage
[fdbserver.4503]
class=stateless

k8s部署3.0.3 存算分离

apiVersion: disaggregated.cluster.doris.com/v1
kind: DorisDisaggregatedCluster
metadata:
  name: mc-disaggregated-cluster
spec:
  metaService:
    replicas: 2
    configMaps:
      - name: doris-metaservice
        mountPath: /etc/doris
    requests:
      cpu: 100m
      memory: 128Mi
    limits:
      cpu: 4
      memory: 4Gi
    nodeSelector:
      node-type: doris

    image: selectdb/doris.ms-ubuntu:3.0.3
    fdb:
      address: fdb:doris@10.2.11.11:4500
。。。。。。。

metaService 启动不了,报错

RuntimeLogger I20241226 13:12:38.581243   148 main.cpp:221] meta_service and recycler are both not specified, run doris_cloud as meta_service and recycler by default
run doris_cloud as meta_service and recycler by default
RuntimeLogger I20241226 13:12:38.581264   148 main.cpp:243] begin to init txn kv
RuntimeLogger I20241226 13:12:38.585121   148 main.cpp:251] successfully init txn kv, elapsed milliseconds: 3
RuntimeLogger W20241226 13:12:48.586803   148 txn_kv.cpp:389] virtual TxnErrorCode doris::cloud::fdb::Transaction::get(std::string_view, std::string *, bool) failed to fdb_future_get_error err=Operation aborted because the transaction timed out key=021073797374656d0001106d6574612d73657276696365000110656e6372797074696f6e5f6b65795f696e666f0001
RuntimeLogger W20241226 13:12:48.587100   148 encryption_util.cpp:560] failed to get key of encryption_key_info err=Timeout
RuntimeLogger W20241226 13:12:48.587149   148 encryption_util.cpp:708] failed to generate random root key
RuntimeLogger W20241226 13:12:48.587172   148 main.cpp:255] failed to init global encryption key map
RuntimeLogger W20241226 13:12:48.587255   148 txn_kv.cpp:253] fdb_stop_network
RuntimeLogger W20241226 13:12:48.587301   152 txn_kv.cpp:248] exit fdb_run_network
1 Answers

把fdb的版本从7.3.X 降到7.1.X,现在好了