Closed databasedav closed 2 years ago
Sorry for the delay, i found the problem. Its fixed on my PR branch on #100 I forgot to resize the buffer when writing contexts in expressions. There is a second bug related to contexts thats fixed by #111 in case you run into that problem. Its only related to ctx_map_key_create.
this is a repost from https://github.com/aerospike/aerospike-client-rust/issues/104#issuecomment-873337144 since it's a more specific issue about the expressions branch PR https://github.com/aerospike/aerospike-client-rust/pull/100
here's a repro with
aerospike:ce-5.6.0.13
output:
the failing removal write expression works fine using the python client
so this isn't a problem with
expressions::cond
in general since the initial map put works fine and replacingwith
expressions::int_val(0)
(a trivial equality) works as expectedand
cdt_context::ctx_map_key
works in different contexts (like the initial list append) so i'm lead to believe it's something about the combo of the two