aerospike-client-python icon indicating copy to clipboard operation
aerospike-client-python copied to clipboard

`range_limit` causes Segmentation fault

Open m30m opened this issue 9 years ago • 3 comments

Whenever I try to use range_limit function for LargeLists I get segmentation fault error. I am using ubuntu 14.04 and aerospike==2.0.0 .

m30m avatar Feb 14 '16 10:02 m30m

@alex-mercer can you add a small code sample that reproduces it?

rbotzer avatar Feb 14 '16 15:02 rbotzer

import aerospike

config = {'host': ('127.0.0.1', 3000)}
client = aerospike.client(config).connect()
key = ('test', 'demo', 'foo')
tags = client.llist(key, 'llistbin')
tags.add(1)
tags.add(2)
tags.range_limit(1, 2, 2)

m30m avatar Feb 14 '16 15:02 m30m

Okay, the methods that include key filter functions have not been officially added yet, which is why they're not in the official docs for LList. We have a pair of tickets for those, CLIENT-531 and CLIENT-577. We'll mention those in the release notes when they've been implemented.

I'll leave this open till then.

rbotzer avatar Feb 14 '16 17:02 rbotzer