KUDU-2612 adds support for multi-row transactions (INSERT/INSERT_INGORE operations only for now). With that, it makes sense to extend the functionality of the kudu perf loadgen CLI tool to insert test rows in the context of multi-row transaction.
It would be great to:
- add an option to kudu perf loadgen to start a new multi-row transaction and insert test rows in a transactional session
- add an option to output the transaction handle in a serialized form (i.e. produce transaction token)
- add an option to load information about a multi-row transaction from a transaction token and insert test rows as part of the given transaction
- add an option to commit, rollback, or do nothing with the transaction (should leave transaction as is by default, i.e. neither commit, nor rollback)