Skip to content

Document _space_sequence and _vspace_sequence system spaces #3292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #3543
TarantoolBot opened this issue Jan 13, 2023 · 0 comments · Fixed by #3610
Closed
Tracked by #3543

Document _space_sequence and _vspace_sequence system spaces #3292

TarantoolBot opened this issue Jan 13, 2023 · 0 comments · Fixed by #3610
Assignees
Labels
2.11 2.11 release and the associated technical debt doc_gap feature A new functionality

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Jan 13, 2023

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

Product: Tarantool
Since: 2.11
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/system_views/
SME: @ locker

Details

The _space_sequence system space was added long time ago (in 1.7.5)
along with the _sequence and _sequence_data system spaces, but it
was never documented. The space is used to attach sequences to spaces
and has the following fields:

  1. 'id', type 'unsigned'. Space id.
  2. 'sequence_id', type 'unsigned'. Id of the attached sequence.
  3. 'is_generated', type 'boolean'. True if the sequence was created
    automatically (space:create_index('pk', {sequence = true}))
  4. 'field', type 'unsigned'. Id of the space field that is set using
    the attached sequence.
  5. 'path', type 'string'. Path to the data within the field that is set
    using the attached sequence.

The _vspace_sequence is a system space view of the _space_sequence
space that, like any other system space view, shows only rows accessible
by the current user. It will be introduced in Tarantool 2.10.5.
Requested by @ locker in tarantool/tarantool@06ee113.

@veod32 veod32 added server [area] Task relates to Tarantool's server (core) functionality doc_gap labels Jan 19, 2023
@veod32 veod32 added 2.11 2.11 release and the associated technical debt feature A new functionality and removed server [area] Task relates to Tarantool's server (core) functionality labels Mar 6, 2023
@p7nov p7nov self-assigned this Aug 3, 2023
p7nov added a commit that referenced this issue Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.11 2.11 release and the associated technical debt doc_gap feature A new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants