What are the most likely reasons for GENERATION_ERROR?

I’m using Aerospike cluster and got the ‘Error Code 3: Generation error count’ in Java code which write info to the DB.

What are the most likely reasons for getting this error?

Thank you

It means you are trying to write a record while requiring the record generation to be a certain value.

what do you mean with “a certain value.”?

The “certain value” is specified in WritePolicy.generation.

1 Like

Thanks Bryan. However, the generationPolicy is NONE. It should not affect, right?

If the generationPolicy is NONE, the generation will not be checked on the server.