Skip to content

Ban DDL operations from space on_replace triggers #2758

Open
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
Since: 2.10.0-beta2-167-ge4e65e406
Audience/target: dev
Root document:
https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/on_replace/
https://www.tarantool.io/en/doc/latest/book/box/triggers/
SME: @ EvgenyMekhanik

Details

Previously user can set function for space on_replace trigger,
which performs DDL operation. This may leads to tarantool crash,
that's why this patch bans DDL operations from on_replace triggers.
All this operations fails with error: "Space on_replace trigger
does not support DDL operations".
Requested by @EvgenyMekhanik in tarantool/tarantool@e4e65e4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.10behavior change[nature] Сhange in existing behaviorserver[area] Task relates to Tarantool's server (core) functionalitytriggers[area] Related to triggers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions