LDT Sub-Record Create Error Note:-ldt-enabled is true


#1

Hi,

I am facing following error.

Using Aerospike 3.7.3 and Large stack. Please help

Mar 19 2016 05:00:17 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:00:17 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:00:17 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:00:17 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:00:17 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:18 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail

Mar 19 2016 05:05:19 GMT: WARNING (ldt): (ldt_aerospike.c::507) crec_create: LDT Sub-Record Create Error [rv=-1]… Fail


#2

Hi, is there a reason you are using LDT? This is not a mature component of the product and we would not recommend building a solution around them.


#3

I work for Aerospike.


#4

Hi Ben, Thanks for your reply. I can use regular records with secondary index. But Using LDT saves huge RAM for me. My usecase is, to store 3 billion user activities, Each user having around 100 activities, Each activity is a JSON around 500 bytes. Any good alternative is appreciated.


#5

One solution would be to use CDT http://www.aerospike.com/docs/guide/data-types.html#-complex-data-types-docs-guide-cdt-html-

You can try either a list or a map.


#6

Hi Ben, Thanks.

I was a bit worried on using CDT before choosing LDT is, What if I exceed 1M size. Now, if I manage to limit my user activities within 1M, I hope I can migrate all my data in LDT to CDT. Do you find any more challenge?

Also are there any known issues with CDT? Can I proceed to use in production? I am using Community Edition 3.7.3.

Thanks.


#7

@dhanasekaran1980,

Thank you for posting about LDTs in our forum. Please see the LDT Feature Guide for current LDT recommendations and best practices.


#8

@dhanasekaran1980,

Effective immediately, we will no longer actively support the LDT feature and will eventually remove the API. The exact deprecation and removal timeline will depend on customer and community requirements. Instead of LDTs, we advise that you use our newer List and SortedMap APIs, which are now available in all Aerospike-supported clients at the General Availability level. Read our blog post for details.