asbackup is logging the below errors, although the backup still completes. I’m planning to do a test restore to see if it succeeds and how much data is restored. What is causing this error and how can it be fixed? Invalid key type sounds critical
It is seeing a key type = 0 which is AS_BYTES_UNDEF. Its looking for AS_BYTES_INTEGER =1, _STRING, _DOUBLE, or _BLOB for key type. Don’t know why that field is zero in your case.
Oh, wow. Interesting. May I ask a few further questions?
Which version of the Aerospike server and asbackup does this happen with?
Which Aerospike client (i.e., C, Java, etc.) and which client version does your application use to access the Aerospike server?
Could you share the namespace configuration section for sports from your aerospike.conf? I’m mostly interested in seeing, whether the namespace is SSD-backed and whether reads come from memory (“data in memory”) or from SSD.
Do you use sets? If you use sets, then does the issue affect the data in all sets or just a specific set? If it’s just a specific set, is there anything special about the keys used in this set?
@tlo Sorry for delayed reply. Here are some answers to your questions.
Which version of the Aerospike server and asbackup does this happen with?
$ asinfo -v version
Aerospike Community Edition build 3.9.1.1
asbackup - whatever came as standard with this version
Which Aerospike client (i.e., C, Java, etc.) and which client version does your application use to access the Aerospike server?
GO and Ruby. Multiple different versions.
Could you share the namespace configuration section for sports from your aerospike.conf? I’m mostly interested in seeing, whether the namespace is SSD-backed and whether reads come from memory (“data in memory”) or from SSD.
Do you use sets? If you use sets, then does the issue affect the data in all sets or just a specific set? If it’s just a specific set, is there anything special about the keys used in this set?
Yes, we use sets. I would have to back them up individually to see if error occurs in all of them.