Closed finch986 closed 6 years ago
After the record delete(), the record key does not exist. When the record key doesn't exist on operate(), the following is returned:
For server versions < 3.16.0.1. "Bin type error" is returned. For server version >= 3.16.0.1, "Key not found" is returned.
but we are appending items as well . Also this is sample Code we have copied from Aerospike Examples
I tried your example with java client 4.1.4 and the latest server version with file storage engine. It worked fine.
record (gen:1),(exp:261344151),(bins:(categories:[10, [5]]))
Which server version are you using?
Server 3.15 . Client latest Java .
On Thu 15 Mar, 2018, 01:07 Brian Nichols, notifications@github.com wrote:
I tried your example with java client 4.1.4 and the latest server version with file storage engine. It worked fine.
record (gen:1),(exp:261344151),(bins:(categories:[10, [5]]))
Which server version are you using?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aerospike/aerospike-client-java/issues/96#issuecomment-373148761, or mute the thread https://github.com/notifications/unsubscribe-auth/ADiPSLvQZYe50LnIcTo1_pWuCOIVz0OAks5teXFrgaJpZM4SoZeb .
Support for ListOperation.removeByValue() was first added in server version 3.16.0.1. I recommend upgrading to server version 3.16.0.6.
I am using aerospike listoperation in code, but I am getting Bin Type error , Error Code 12 while performing the removeByValue operation.
aerospike config details:
client version: 4.1.4 java-helper-version: 1.2 namespace config:
namespace test {
storage-engine memory
}
code sample:
public void samplecode() throws Exception { Key key = new Key("test", "ccp", "oplkey11"); aerospikeClient.delete(null, key);
}