[Tarantool-patches] [PATCH v2 1/1] fiber: extend max fiber name length to 255
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Tue Mar 17 01:29:31 MSK 2020
Indeed. Ask everyone to add them, and forgot myself.
@ChangeLog
- Fiber.name maximal length is extended to 255 (gh-4394).
On 16/03/2020 13:48, Nikita Pettik wrote:
> 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.
>
>
More information about the Tarantool-patches
mailing list