gpt4 book ai didi

java - 使用 LDT 时出现子记录错误

转载 作者:行者123 更新时间:2023-11-29 06:59:45 25 4
gpt4 key购买 nike

我正在使用 LDT map ,一开始遇到这个错误。

com.aerospike.client.AerospikeException: Error Code 1424: LDT-Sub Record Create Error

我能够在 aerospike.conf
中借助 ldt-enabled true 将其删除但现在我遇到了

com.aerospike.client.AerospikeException: Error Code 1422: LDT-Sub Record Open Error

代码片段:

for (Entry<String, Map<String, Object>> myLdtBin: myLdtMap.entrySet()) {
LargeMap lmap = client.getLargeMap(myWritePolicy, myKey, myLdtBin.getKey() , null);
lmap.put(myLdtBin.getValue()); //<-- Error here
}

有什么建议吗?

最佳答案

Aerospike 在 3.4.1 中为 LDT 进行了主要的稳定性修复。请看3.4.1是否还出现这个问题

此外,推荐使用的数据结构是 LLIST。它由 B+ 树支持,并且是最可扩展的。

关于java - 使用 LDT 时出现子记录错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28045438/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com