Kinetic / kinetic-protocol

34 stars 21 forks source link

Batch operations #42

Open rcrane opened 7 years ago

rcrane commented 7 years ago

The kinetic.proto file contains fields and operations that hint at the availability of batch operations:

// batch operations START_BATCH = 42; START_BATCH_RESPONSE = 41; END_BATCH = 44; END_BATCH_RESPONSE = 43; ABORT_BATCH = 46; ABORT_BATCH_RESPONSE = 45;

Is there any code (preferably C) available that demonstrates how to use batches?

chiaming2000 commented 7 years ago

Java batch examples are at the link below. https://github.com/Kinetic/kinetic-java/tree/master/kinetic-test/src/test/java/com/seagate/kinetic/example/batchop

The examples work well also against the simulator. https://github.com/Kinetic/kinetic-java