May I ask a question about why only enable transaction explicitly when the size of txn is larger than 1 in stolon test? My initial guess is that if the size =1, then transaction will be implicitly enabled by the database. But in the implementation of append micro-operation, the codes provide two possible ways:
using on conflict
using update, insert, update.
In the second way, from my understanding, it seems to use more than 1 SQL statements. Then implicit transaction won't be enabled for this transaction. But the codes still sets use-txn? to false. Thanks a lot!
May I ask a question about why only enable transaction explicitly when the size of txn is larger than 1 in stolon test? My initial guess is that if the size =1, then transaction will be implicitly enabled by the database. But in the implementation of append micro-operation, the codes provide two possible ways:
In the second way, from my understanding, it seems to use more than 1 SQL statements. Then implicit transaction won't be enabled for this transaction. But the codes still sets
use-txn?
to false. Thanks a lot!