When you say indexes are updated synchronously, could you please let me know what happens when updating the secondary index fails, but the record has been updated. AS does not support rollbacks.
So now the secondary index and primary index/records have diverged. Is this possible?
Can i know somehow that this has happened, so that i can do a write repair.
Aerospike does not roll back when secondary index fails. But we do save this information and show this sindex as not-synced when a user lists all the sindexes.
You can use aql command for this:
aql> show indexes