[tarantool-patches] Re: [PATCH v2 8/8] Introduce asynchronous txn commit

Konstantin Osipov kostja at tarantool.org
Fri May 31 22:43:57 MSK 2019


* Georgy Kirichenko <georgy at tarantool.org> [19/05/23 11:48]:
> Allow asynchronous transaction commit. This adds two functions:
>  * txn_async_commit that sends a transaction to a journal
>  * txn_async_wait that waits until the transaction processing was done
> 

The same comment applies as to journal api: the async api becomes
the standard one, can we use txn_write/txn_wait for names, and
txn_commit would do a pair of write/wait? We don't have to stress
that much in the name that the write is async since there is no
sync write at all. 

In other words:
txn_async_commit -> txn_write()

txn_journal_async_write -> txn_write_to_wal() (same as before).


-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list