Skip to content

on_schema_reload trigger of net.box connections behaviour update #4119

Open
@TarantoolBot

Description

@TarantoolBot

Related dev. issue(s): tarantool/tarantool#9679

Product: Tarantool
Since: 3.1
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/net_box/#lua-function.conn.on_schema_reload
SME: @ CuriousGeorgiy

Details

When an error is thrown from the on_schema_reload trigger, it now behaves
the same way as the on_disconnect trigger 1:

If the trigger function causes an error, the error is logged but
otherwise is ignored.

Footnotes

  1. https://www.tarantool.io/en/doc/latest/reference/reference_lua/net_box/#lua-function.conn.on_disconnect
    Requested by @ CuriousGeorgiy in https://github.com/tarantool/tarantool/commit/bbd8b684251c3bc1f092a3cc2570c6d12f117418.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.1triggers[area] Related to triggers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions