From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 88CEA6F3C7; Fri, 26 Mar 2021 00:30:04 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 88CEA6F3C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616707804; bh=qaG8R8UpRTXlmEfOy7Y/JzoQisDXSd2LLzXxm7F2/ds=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=AKJ0cmwCor4ogS5x9zscmyjQtYTs7vRBc1SZsALVfyEw164AarPJNB2xIKlDFrhYR wo/wRo+4UN096hp6pmuX81NgsniGXgyQ6kAB/N81RavmywHaHz9xosJqp7hoxxA3+i dMXwl4baodqpVksfRZXdONFCS1vfuisUNB48nkRY= Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7795C6F3C7 for ; Fri, 26 Mar 2021 00:30:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7795C6F3C7 Received: by mail-lf1-f53.google.com with SMTP id n138so4661775lfa.3 for ; Thu, 25 Mar 2021 14:30:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2iLpdySi6lIbuQGmBGk1OPkMLdpmEZMMjuAxgNSJ+xQ=; b=B6FHksfKr0QjNoYYtr5cVfJu//3Ib0gmSpOCEKOBZXW7YzJdyy/aCXW9XtAVRsbzmL Qls78XhiKHC8NXPYXYVwkDkGvqyi9acTMD7+oVbhWUwDkmBl8SnTBjHYXTnAHVrdIFGI Si2P+JaE7S1V5pzmCX2idWo9avhrFxBjsTevswbXDoywxQ4/aJFTDX9TTfcAlwc8ggx8 unVKjO1Y/VP/UNyCce+XoO7xwuobTlq7GvDFd62X6yzFusxs0ucHkabGHEi0Ii0Q824/ MBSxGvLKgYtghwB8tOgUWpUf0/l92ABkGWfNNgEpQrdW4W5N+ZJSHlku0DkI3FcqvSX8 D1Xg== X-Gm-Message-State: AOAM533X3KIw/HqRzA0at++0iFRIpyaqMEr/NyWFQJymq6TqOyPfDBW2 Y8d/hVtw5y88q6uP+3W4ZrkBc/2KEA1G+w== X-Google-Smtp-Source: ABdhPJy9OU6aXeJF7f3/54HhxphgZl/A81VijYtU62SJ9b7wcSh/O2qljxVgKitCTYi4Zn1HiZOqvQ== X-Received: by 2002:a05:6512:348c:: with SMTP id v12mr5959203lfr.271.1616707802184; Thu, 25 Mar 2021 14:30:02 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id e11sm911469ljj.59.2021.03.25.14.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 14:30:00 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 11EBF560179; Fri, 26 Mar 2021 00:29:59 +0300 (MSK) Date: Fri, 26 Mar 2021 00:29:59 +0300 To: Cyrill Gorcunov Message-ID: References: <20210324163759.1900553-1-gorcunov@gmail.com> <20210324163759.1900553-2-gorcunov@gmail.com> <8faa2e1e-c198-832d-d527-1acf2280720d@tarantool.org> <19605c5e-e96c-8580-6309-3b0e58df8c01@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0.5 (2021-01-21) Subject: Re: [Tarantool-patches] [PATCH v4 1/3] gc/xlog: delay xlog cleanup until relays are subscribed X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Cc: tml , Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Fri, Mar 26, 2021 at 12:02:56AM +0300, Cyrill Gorcunov wrote: > > then it passed into C level as 0x7fffffffffffffff > which is NaN in ieee-754. > > 2021-03-25 23:53:45.588 [2068763] main/103/interactive I> set 'wal_cleanup_delay' configuration option to inf I changed the code to static double box_check_wal_cleanup_delay(void) { double value = cfg_getd("wal_cleanup_delay"); if (isfinite(value) == 0 && value >= 0) { diag_set(ClientError, ER_CFG, "wal_cleanup_delay", "value must be finite and >= 0"); return -1; } return value; } | tarantool> box.cfg{wal_cleanup_delay = math.huge} | --- | - error: 'Incorrect value for option ''wal_cleanup_delay'': value must be finite and | >= 0' | ...