[tarantool-patches] Re: [PATCH v4 7/9] txn: introduce asynchronous txn commit

Konstantin Osipov kostja at tarantool.org
Fri Jun 21 10:28:09 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/06/20 18:01]:
> > +/*
> > + * Send a transaction to a journal.
> > + */
> > +int
> > +txn_write(struct txn *txn)
> 
> I'd call it txn_commit_async, becase it's just like txn_commit, but
> asynchronous.

I suggested the name to match the WAL api.

wal-write, wal-wait and txn-write, txn-wait

txn-commit is txn-write + txn-wait


If you decide to change the name please follow through with the
wal.

-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list