Search code examples
aerospike

Error in Aerospike while accessing secondary index AEROSPIKE_ERR_INDEX_NOT_READABLE


Aerospike is throwing AEROSPIKE_ERR_INDEX_NOT_READABLE error when I try to access the secondary indexes. Created index using below syntax

CREATE INDEX index_id ON test.class (id) STRING;

Any suggestions would be greatly appreciated.


Solution

  • After restarting Aerospike I am able to use the newly created index.