tarantool / tarantool/doc

[2pt] feedback: space_object:before_replace() | Tarantool

Open
#2,529 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

add details reference server triggers
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Product: Tarantool
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/before_replace/
SME: @ alyapunov

Details

<…>tuple, or if a
trigger function calls
run_triggers(false),
that |will not affect| other triggers that are activated for the same
insert | update <…>

https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/before_replace/

What does this mean? Futher triggers will not be invoked? Or will be invoked with unchanged parameters? Whether it assumes further before_replace() triggers or all triggers, including on_replace()?

ToDo

Clarify the points with @ alyapunov and add the necessary info in the article

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked before_replace() reference article and inspect the quoted explanation of trigger behavior. Consult @alyapunov to resolve whether later before_replace() or on_replace() triggers run and which parameters they receive; update the article so these cases are explicitly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.