简体   繁体   中英

Aerospike - LDT Top Record Create Error

I am getting the error when trying to put an item into the large list. I am using the following things in my project:

  • Aerospike java client
  • ldt-enabled set to true
  • Following is the code where error throws up

    LargeList llist = client.getClient().getLargeList(new WritePolicy(), key, binName);

    llist.update(list);

Solved the issue by upserting the value in the large list one by one instead of a value list.

for(Object listItem: java.util.list){
llist.update(Value.get(listItem))
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM