[Tarantool-patches] [PATCH 09/10] box/journal: journal_entry_new -- drop setting up callbacks

Konstantin Osipov kostja.osipov at gmail.com
Sat Mar 7 00:51:03 MSK 2020


* Cyrill Gorcunov <gorcunov at gmail.com> [20/03/07 00:44]:
> But vinyl test case fails
> 
> 2020-03-07 00:35:51.116 [6494] main/136/applier/unix/:/home/cyrill/sda1 I> subscribed
> 2020-03-07 00:35:51.116 [6494] main/136/applier/unix/:/home/cyrill/sda1 I> remote vclock {1: 782} local vclock {1: 382}
> tarantool: /home/cyrill/sda1/tarantool/tarantool.git/src/box/vy_tx.c:803: void vy_tx_commit(struct vy_tx *, int64_t): Assertion `xm->lsn <= lsn' failed.
> [001] replication/gc.test.lua                         vinyl           

This has to do most likely with out-of-order invocation of the
wakeup callbacks.

Are these sync callbacks or async callbacks?

When a batch of transactions are submitted to wal, they got to be
scheduled to commit in the order of their lsn.

the order gets broken here for some reason. Please find out why.

-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list