From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 8354746970E for ; Sun, 29 Dec 2019 18:43:20 +0300 (MSK) Date: Sun, 29 Dec 2019 18:43:18 +0300 From: Mergen Imeev Message-ID: <20191229154318.GA10509@tarantool.org> References: <002eae0ce1f0c7f28b5ef43236e069172942fdae.1577455413.git.imeevma@gmail.com> <20191227215518.GM18639@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191227215518.GM18639@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v5 1/3] box: introduce 'virtual' engine List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikita Pettik Cc: tarantool-patches@dev.tarantool.org Hi! Thank you for review. I extended commit-messages a bit and re-send a patch-set. Also, I renamed new engine from 'virtual' to 'service'. On Fri, Dec 27, 2019 at 11:55:18PM +0200, Nikita Pettik wrote: > On 27 Dec 17:05, imeevma@tarantool.org wrote: > > This patch introduces a new engine called "virtual" that will be > > used to create a new system space. > > Such a descriptive commit message...Please, add either rfc or extend > commit message to get others a change to dive into your patch: > why do you need that engine, why alternatives are not suitable and so > on and so forth. It's not only about this patch, but the next one > as well. > > As an alternative to 'virtual' name I can suggest 'service', 'system' > (not so good since we already have 'sysview'), 'sysspace' (similar to > 'sysview'). > > > +static struct space * > > +virtual_engine_create_space(struct engine *engine, struct space_def *def, > > + struct rlist *key_list) > > +{ > > + (void)engine; > > + (void)def; > > + (void)key_list; > > + /* There are currently no spaces with this engine. */ > > + diag_set(ClientError, ER_UNSUPPORTED, "Tarantool", > > + "spaces with this engine."); > > -> with 'virtual' engine. >