From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 412B542F4AD for ; Tue, 30 Jun 2020 14:17:27 +0300 (MSK) Received: by mail-lj1-f194.google.com with SMTP id h19so21957646ljg.13 for ; Tue, 30 Jun 2020 04:17:27 -0700 (PDT) Date: Tue, 30 Jun 2020 14:17:24 +0300 From: Cyrill Gorcunov Message-ID: <20200630111724.GD2256@grain> References: <20200629124925.GB2256@grain> <20200630101944.15515-1-i.kosarev@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200630101944.15515-1-i.kosarev@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v2] xlog: make log directory if needed List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ilya Kosarev Cc: tarantool-patches@dev.tarantool.org On Tue, Jun 30, 2020 at 01:19:44PM +0300, Ilya Kosarev wrote: > Tarantool's box.backup.start() returns the list of files needed to > successfully run new instance. The problem was that it doesn't include > empty indexes log directories. This means that after starting the > instance using backed up files and inserting something into previously > empty index we could run into log file creation error for example on > box.snapshot() call. Now this is not a problem as far as according > directories are created if needed. Corresponding test case added. > > Closes #5090 Reviewed-by: Cyrill Gorcunov