Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/3] Qsync too long WAL write
@ 2020-10-31 18:01 Vladislav Shpilevoy
  2020-10-31 18:01 ` [Tarantool-patches] [PATCH 1/3] txn: rename txn_complete_async to txn_on_journal_write Vladislav Shpilevoy
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Vladislav Shpilevoy @ 2020-10-31 18:01 UTC (permalink / raw)
  To: tarantool-patches, sergepetrenko, gorcunov

The patchset fixes the issue with synchronous transactions
printing "too long WAL write" even when WAL write speed was fine.

The reason was the the "WAL write" time is measured at transaction
commit, which is far from the actual disk write for synchronous
transactions.

@ChangeLog
* Fixed a false-positive "too long WAL write" message for synchronous transactions.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5139-too-long-wal
Issue: https://github.com/tarantool/tarantool/issues/5139

Vladislav Shpilevoy (3):
  txn: rename txn_complete_async to txn_on_journal_write
  txn: split complete into success and fail paths
  txn: warn "too long WAL" on write, not on commit

 src/box/txn.c       | 127 +++++++++++++++++++++-----------------------
 src/box/txn.h       |  19 ++++---
 src/box/txn_limbo.c |  37 +++++++++----
 3 files changed, 97 insertions(+), 86 deletions(-)

-- 
2.21.1 (Apple Git-122.3)

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

end of thread, other threads:[~2020-11-03 22:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 18:01 [Tarantool-patches] [PATCH 0/3] Qsync too long WAL write Vladislav Shpilevoy
2020-10-31 18:01 ` [Tarantool-patches] [PATCH 1/3] txn: rename txn_complete_async to txn_on_journal_write Vladislav Shpilevoy
2020-11-02 11:48   ` Cyrill Gorcunov
2020-10-31 18:01 ` [Tarantool-patches] [PATCH 2/3] txn: split complete into success and fail paths Vladislav Shpilevoy
2020-11-02 12:15   ` Cyrill Gorcunov
2020-11-02 22:39     ` Vladislav Shpilevoy
2020-10-31 18:01 ` [Tarantool-patches] [PATCH 3/3] txn: warn "too long WAL" on write, not on commit Vladislav Shpilevoy
2020-11-02 12:31   ` Cyrill Gorcunov
2020-11-03  7:36 ` [Tarantool-patches] [PATCH 0/3] Qsync too long WAL write Serge Petrenko
2020-11-03 22:19 ` Vladislav Shpilevoy

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