tarantool / tarantool/doc

feedback: space_object:before_replace()

Open
#3,284 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

add details reference
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: @ locker

Details

<…>ace function will be called and the data
change will be skipped.| The return value will be absent.|
if the value is the same as the new parameter, then it’s as if
<…>

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

What return value will absent? We're talking here about return value of before_replace, the case when it equals 'old', isn't it?

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

Read the before_replace() section at the linked root document, especially the passage about the callback being called, the data change being skipped, and the absent return value. Clarify what return value the passage refers to and update the wording so the behavior is unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.