From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp29.i.mail.ru (smtp29.i.mail.ru [94.100.177.89]) (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 E1303469719 for ; Mon, 16 Mar 2020 15:48:18 +0300 (MSK) Date: Mon, 16 Mar 2020 12:48:17 +0000 From: Nikita Pettik Message-ID: <20200316124817.GA14628@tarantool.org> References: <7720185c4456a63f0d31bfbe11cdb101e864a3c4.1584284911.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7720185c4456a63f0d31bfbe11cdb101e864a3c4.1584284911.git.v.shpilevoy@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v2 1/1] fiber: extend max fiber name length to 255 List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org On 15 Mar 16:11, Vladislav Shpilevoy wrote: > Users keep complaining about too short fiber name. New limit is > 255, should be enough for any sane name. > > Closes #4394 > > @TarantoolBot document > Title: fiber.name length limit. > > It was 32, now it is 255. Besides, it seems like `fiber.name` > `{truncate = true}` option is not documented. > > By default, if a new name is too long, `fiber.name(new_name)` > fails with an exception. To make it always succeed there is an > option 'truncate': `fiber.name(new_name, {truncate = true})`. It > truncates the name to the max length if it is too long. > --- > Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4394-fiber-name-inline > Issue: https://github.com/tarantool/tarantool/issues/4394 > > Changes in v2: > - Short fiber names are kept inside struct fiber. > LGTM. Seems you forgot to add changelog for github release.