Hi Community,
I am using the Aerospike C LibEvent client. A reference is found at this url:
http://www.aerospike.com/docs/client/libevent/usage/connect.html
Currently the key used to store a record in Aerospike is a 16 byte GUID.
An example of a key I used is [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10].
When I tried to use the C# client to retrieve the record, I was not able to get the record with the same key.
The two things that I have tried is:
- Use byte as key Key key = new Key(“TestNS”, “TestSet”, keyBytes);
- The bytes are converted to their unicode equivalent, then used to retrieve the record.
Any help is appreciated.
Thanks