[tarantool-patches] [PATCH v3 0/2] replication: force gc to clean xdir on ENOSPC err

Konstantin Belyavskiy k.belyavskiy at tarantool.org
Thu Jun 28 18:07:22 MSK 2018


ticket: https://github.com/tarantool/tarantool/issues/3397
branch: https://github.com/tarantool/tarantool/tree/kbelyavs/gh-3397-force-del-logs-on-no-disk-space


This is third version of a patch, with a separate patch for rename:
  replication: rename thread from tx to tx_prio
  replication: force gc to clean xdir on ENOSPC err

 src/box/box.cc                                    |   1 +
 src/box/gc.c                                      |  51 +++++++++++
 src/box/gc.h                                      |  16 ++++
 src/box/relay.cc                                  |   1 +
 src/box/wal.cc                                    |  40 ++++++--
 src/errinj.h                                      |   1 +
 src/fio.c                                         |   7 ++
 test/box/errinj.result                            |   2 +
 test/replication/force_gc_on_err_nospace.result   | 107 ++++++++++++++++++++++
 test/replication/force_gc_on_err_nospace.test.lua |  38 ++++++++
 test/replication/suite.ini                        |   2 +-
 11 files changed, 257 insertions(+), 9 deletions(-)
 create mode 100644 test/replication/force_gc_on_err_nospace.result
 create mode 100644 test/replication/force_gc_on_err_nospace.test.lua

--
2.14.3 (Apple Git-98)




More information about the Tarantool-patches mailing list