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

Konstantin Osipov kostja at tarantool.org
Fri May 31 22:41:36 MSK 2019


* 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?



-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list