Kinetic / kinetic-protocol

34 stars 21 forks source link

ACK/NACK in batch operations #30

Open pareshpp opened 9 years ago

pareshpp commented 9 years ago

I wanted to clarify few things in batch operations. After client sends a batch of 10 operations[say 10 PUTs], should the server send acknowledgement for each operation inside the batch? Or the server should send acknowledgement ONLY after the batch is committed/aborted or there is a command failure in the batch.

kinetic python client seems to be doing it this way, but the protocol page does not talk about not sending ACK for each put in a batch.

jphughes commented 9 years ago

The individual members of the batch (puts and deletes) are acknowledged in the end batch response. There is no intermediate acknowledgement.