Articles in this section

How can the actual Batch timeout be greater than the Batch TotalTimeout policy?

Detail

A client can observe that a batch transaction can either timeout or succeed past the set TotalTimeout. This perceived behavior depends on the client batch concurrency policy.

Answer

By default Batch concurrency is set to false. This imply that a batch transaction is sent to each node of the cluster serially. 

In terms of a Totaltimeout the Actual TotalTimeout would be the product of the configured Batch client TotalTimeout and the number of nodes in the cluster.
 
Actual_TotalTimeout = TotalTimeout * NumberOfClusterNodes


For example if a client is sending a batch transaction to a 4 node Aerospike cluster and has a TotalTimeout policy of 7000ms, its possible for a batch job to timeout after 4 x 7000 = 28000ms.

Notes

Server will also uses "timeout * 2" to abandon full batch when sending batch results to client.

Applies To Earliest Version

Pre 4.9

Applies To Latest Version

Current Version
Was this article helpful?
0 out of 0 found this helpful