List_remove_by_values fails with Error Code 12: Bin type error

I’m using java client to perform list operations, however, list_remove_by_values fails with

com.aerospike.client.AerospikeException: Error Code 12: Bin type error

So, before insertion bin1 is empty. After insertion is {bin1=[2]}, and then the deletion fails The deletion fails to remove both by single and multiple values.

      new Key("test", "someset", "key"),
      ListOperation.appendItems("bin1", Collections.singletonList(Value.get(2)))
    ) //OK

      new Key("test", "someset", "key"),
      ListOperation.removeByValueList("bin1", Collections.singletonList(Value.get(2)), ListReturnType.NONE)
    ) //com.aerospike.client.AerospikeException: Error Code 12: Bin type error

Aerospike server, client 3.3.2 or 4.1.8 (both clients can reproduce errors)

UPD: with Aerospike server everything is fine, seems like a fixed issue

Good to hear the issue is resolved in Did you upgrade from to If so, why did you choose over newer releases?

Simply because is on the production environment, and runs locally for testing purposes.

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.