From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8EC5A263F3 for ; Thu, 28 Jun 2018 11:07:31 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q6aPkrcY6blT for ; Thu, 28 Jun 2018 11:07:31 -0400 (EDT) Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 4D513263DF for ; Thu, 28 Jun 2018 11:07:29 -0400 (EDT) Received: from [185.6.245.156] (port=16672 helo=localhost.localdomain) by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1fYYW6-0005ZD-0F for tarantool-patches@freelists.org; Thu, 28 Jun 2018 18:07:26 +0300 From: Konstantin Belyavskiy Subject: [tarantool-patches] [PATCH v3 0/2] replication: force gc to clean xdir on ENOSPC err Date: Thu, 28 Jun 2018 18:07:22 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org 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)