Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/2] Qsync crash on WAL write fail
@ 2020-07-20 20:43 Vladislav Shpilevoy
  2020-07-20 20:43 ` [Tarantool-patches] [PATCH 1/2] txn: single failure point for WAL and TX commit errors Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Vladislav Shpilevoy @ 2020-07-20 20:43 UTC (permalink / raw)
  To: tarantool-patches, gorcunov

The patchset fixes the crash when a synchronous transaction
couldn't to local master's WAL, getting an error from inside of
the WAL thread.

Note, the test is added to the existing file instead of creating
a new one intentionally. It is not so cheap to create new instance
for each new test, and also would complicate running all qsync
tests by prefix like this: `python test-run.py replication/qsync`.
Besides, the test is simple. Copy-pastable to console not counting
test_run:switch() calls.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5146-qsync-crash
Issue: https://github.com/tarantool/tarantool/issues/5146

Vladislav Shpilevoy (2):
  txn: single failure point for WAL and TX commit errors
  txn: single failure point for WAL and TX async commit errors

 src/box/txn.c                          | 88 +++++++++++---------------
 test/replication/qsync_errinj.result   | 69 ++++++++++++++++++++
 test/replication/qsync_errinj.test.lua | 28 ++++++++
 3 files changed, 134 insertions(+), 51 deletions(-)

-- 
2.21.1 (Apple Git-122.3)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-22 22:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 20:43 [Tarantool-patches] [PATCH 0/2] Qsync crash on WAL write fail Vladislav Shpilevoy
2020-07-20 20:43 ` [Tarantool-patches] [PATCH 1/2] txn: single failure point for WAL and TX commit errors Vladislav Shpilevoy
2020-07-21  8:42   ` Cyrill Gorcunov
2020-07-20 20:43 ` [Tarantool-patches] [PATCH 2/2] txn: single failure point for WAL and TX async " Vladislav Shpilevoy
2020-07-21  8:43   ` Cyrill Gorcunov
2020-07-20 20:44 ` [Tarantool-patches] [PATCH 0/2] Qsync crash on WAL write fail Vladislav Shpilevoy
2020-07-21 20:25 ` Vladislav Shpilevoy
2020-07-22 10:41   ` Kirill Yukhin
2020-07-22 22:27     ` Vladislav Shpilevoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox