Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH 0/2] memtx: make space format check yield occasionally
@ 2019-06-03 15:51 Serge Petrenko
  2019-06-03 15:51 ` [PATCH 1/2] memtx: add yields during space format check Serge Petrenko
  2019-06-03 15:51 ` [PATCH 2/2] test: move vinyl space format test case to engine suite Serge Petrenko
  0 siblings, 2 replies; 5+ messages in thread
From: Serge Petrenko @ 2019-06-03 15:51 UTC (permalink / raw)
  To: vdavydov.dev; +Cc: tarantool-patches, Serge Petrenko

https://github.com/tarantool/tarantool/issues/3976
https://github.com/tarantool/tarantool/tree/sp/background-space-format

After we've made memtx index build non-blocking, it seems reasonable to do the
same thing for format checks.

The first patch adds yields to memtx_space_check_format, and an on_replace
trigger to enforce new format for concurrently inserted tuples.

The second patch moves an appropriate test case from vinyl suite to engine
suite and adds a handy error injection for the matter.

Serge Petrenko (2):
  memtx: add yields during space format check
  test: move vinyl space format test case to engine suite

 src/box/memtx_space.c           | 125 +++++++++++++++++++++++++-------
 src/box/vinyl.c                 |   6 ++
 src/lib/core/errinj.h           |   1 +
 test/box/errinj.result          |  36 ++++-----
 test/engine/errinj_ddl.result   |  68 +++++++++++++++++
 test/engine/errinj_ddl.test.lua |  33 +++++++++
 test/vinyl/errinj_ddl.result    |  75 -------------------
 test/vinyl/errinj_ddl.test.lua  |  35 ---------
 8 files changed, 226 insertions(+), 153 deletions(-)

-- 
2.20.1 (Apple Git-117)

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

end of thread, other threads:[~2019-06-04 15:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 15:51 [PATCH 0/2] memtx: make space format check yield occasionally Serge Petrenko
2019-06-03 15:51 ` [PATCH 1/2] memtx: add yields during space format check Serge Petrenko
2019-06-03 15:54   ` [tarantool-patches] " Serge Petrenko
2019-06-04 15:17   ` Vladimir Davydov
2019-06-03 15:51 ` [PATCH 2/2] test: move vinyl space format test case to engine suite Serge Petrenko

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