Nishant Kumar
Nishant Kumar

Reputation: 2169

Secondary index missing records after migration (add/remove node)

I have noticed that whenever i add/remove nodes from my cluster, secondary index query returns empty result for some records even after migration completes. However they can be successfully retrieved using PK. I am using version 3.8.1 with RAM+HDD model. Currently i have to drop and create each secondary index manually every time. Is there better solution available for this?

Upvotes: 1

Views: 94

Answers (1)

Meher
Meher

Reputation: 2939

You are likely hitting the following bug:

[AER-4930] - (SINDEX) Replica-creates not updating sindex entry, cause missing records in query.

This got addressed in version 3.9.0.1: http://www.aerospike.com/download/server/notes.html#3.9.0.1

Upvotes: 2

Related Questions