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 7E8DC294C5 for ; Fri, 30 Aug 2019 10:12:04 -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 TNkcG8LUfiDq for ; Fri, 30 Aug 2019 10:12:04 -0400 (EDT) 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 turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id D0AA7294C3 for ; Fri, 30 Aug 2019 10:12:03 -0400 (EDT) Date: Fri, 30 Aug 2019 17:11:47 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH v2 1/3] box: rfc for stacked diagnostic area in Tarantool Message-ID: <20190830141147.5gbqog5ik33cks7p@tkn_work_nb> References: <7b663975f0307541a6751bde10547fc2c13b5679.1566553968.git.kshcherbatov@tarantool.org> <20190830125851.fjw5wgvchuwsens6@tkn_work_nb> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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: Kirill Shcherbatov Cc: tarantool-patches@freelists.org, Konstantin Osipov On Fri, Aug 30, 2019 at 04:24:03PM +0300, Kirill Shcherbatov wrote: > > I would also add err:prev() method like we did for, say, > > box.tuple.update(t, <...>) and t:update(<...>). > I am not sure, that it is a good idea. Obviously the list must be double-linked. > Then, in current implementation, an error has a reference for it's reason. > With double-linked list this would become more complicated and I really don't > think that it is reasonable. I'm about a metamethod :prev() (in addition to box.error.prev()), not about adding :next() or so.