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 50A662A9F6 for ; Tue, 23 Oct 2018 03:10:20 -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 fWu1VA49AWZW for ; Tue, 23 Oct 2018 03:10:20 -0400 (EDT) Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (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 A96BD2A9EF for ; Tue, 23 Oct 2018 03:10:19 -0400 (EDT) Date: Tue, 23 Oct 2018 10:10:13 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH v2 1/2] box: added replication_dead/rw_gap options Message-ID: <20181023071013.GC9849@chai> References: <20181012194557.7445-1-arkholga@tarantool.org> <20181012194557.7445-2-arkholga@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181012194557.7445-2-arkholga@tarantool.org> 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 Cc: Olga Arkhangelskaia * Olga Arkhangelskaia [18/10/13 08:20]: > In scope of gh-3110 we need options that store periods of time, > to be compared with time of last activity of relay and applier. > This patch introduces replication_dead_gap and replication_rw_gap options. > > replication_dead_gap is configured in box.cfg, with default 0 value. > If time that passed from now till last reader/writer activity of given replica > exceeds replication_dead_gap value, replica is suspected to be dead. > replication_dead_gap is measured in hours. > > replication_rw_gap is configured in box.cfg, with default 0 value. > If time difference between last reader activity and last writer activity of > given replica exceeds replication_rw_gap value, replica is suspected to be dead. > replication_rw_gap is measured in hours. Why do we need this if we have heartbeats? And with swim on board we will have gossip information about entire replica set? > -- -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov