Detail
Writing a record from a client fails with an error code 4 error on the client side. The server shows that a number of bin operations was exceeded.Answer
Aerospike has a limit of 32,767 bins per key . Inserting a higher number of bins in one write transaction would generate the following error on the server:Aug 05 2023 00:36:54 GMT: WARNING (rw): (write.c:1007) {bar} write_master: can't exceed 32768 bin ops 9a1973dd953f6a67740d5c95d93fb36c695f74b3
and the following error code on the client:
Error: (4) AEROSPIKE_ERR_REQUEST_INVALID
The number of bins being written in the transactions should be modified to resolve the issue.