[tarantool-patches] Re: [PATCH v2 7/8] Enable asyncronous wal writes

Георгий Кириченко georgy at tarantool.org
Mon Jun 3 11:09:44 MSK 2019


On Friday, May 31, 2019 10:41:36 PM MSK Konstantin Osipov wrote:
> * Georgy Kirichenko <georgy at tarantool.org> [19/05/23 11:48]:
> > Allow to send a journal entry to wal without wait until the writing
> > 
> > was finished. Two methods were introduced:
> >  * async_write method emits an entry to be written, returns 0 if the
> >  entry was successfully scheduled;
> >  * async_wait method waits until writing was finished and returns a
> >  result of journal write.
> 
> Seems that write async and wait async are the default uses for the
> journal now. Can we swap the names around, and use
> journal_write/journal_wait for async methods, and
> journal_write_sync for the few places that use the sync one?
Accepted, thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20190603/f9e16245/attachment.sig>


More information about the Tarantool-patches mailing list