<HTML><BODY><div class="js-helper js-readmsg-msg"><div id="style_16418244630573079487"><div id="style_16418244630573079487_BODY"><div class="cl_833404"><div> </div><blockquote style="border-left:1px solid #0857A6;margin:10px;padding:0 0 0 10px;"><span data-type="sender">Четверг, 30 декабря 2021, 23:24 +03:00 от Cyrill Gorcunov <<a href="/compose?To=gorcunov@gmail.com">gorcunov@gmail.com</a>>:<br> </span><div data-type="body"><div id=""><div class="js-helper_mr_css_attr js-readmsg-msg_mr_css_attr"><div><div id="style_16408958671534853323_BODY_mr_css_attr">To test that promotion requests are handled only when appropriate<br>write to WAL completes, because we update memory data before the<br>write finishes.<br><br>Note that without the patch "qsync: order access to the limbo terms"<br>this test fires the assertion<br> <div class="mail-quote-collapse">> tarantool: src/box/txn_limbo.c:481: txn_limbo_read_rollback: Assertion `e->txn->signature >= 0' failed.</div><br>Part-of #6036<br><br>Signed-off-by: Cyrill Gorcunov <<a>gorcunov@gmail.com</a>></div></div></div></div></div></blockquote><div> </div><div>The test looks good to me. But it flaky fails on my pc like this:</div><div> </div><div><p>No output during 51 seconds. Will abort after 120 seconds without output. List of workers not reporting the status:</p><p>- 001_replication [replication/gh-6036-qsync-order.test.lua, None] at var/001_replication/gh-6036-qsync-order.result:0</p><p>[001] replication/gh-6036-qsync-order.test.lua                        [ fail ]</p><p>[001]</p><p>[001] Test failed! Result content mismatch:</p><p>[001] --- replication/gh-6036-qsync-order.result Mon Jan 10 14:10:07 2022</p><p>[001] +++ var/rejects/replication/gh-6036-qsync-order.reject Mon Jan 10 17:15:49 2022</p><p>[001] @@ -31,13 +31,16 @@</p><p>[001]   | ...</p><p>[001]  s = box.schema.create_space('test', {is_sync = true})</p><p>[001]   | ---</p><p>[001] + | - error: Can't modify data on a read-only instance - synchro queue with term 2 belongs</p><p>[001] + |     to 1 (1aab3988-56f6-434f-bf38-15174b9664a7)</p><p>[001]   | …</p><div> </div><div> </div><div> </div><div>Besides, you’ll have to rewrite it in luatest, unfortunately.</div></div><div> </div></div></div></div></div></BODY></HTML>