Skip to content

box: move schema_needs_upgrade from internal#11936

Merged
locker merged 1 commit intotarantool:masterfrom
mkostoevr:m.kostoev/box.schema.needs_upgrade
Oct 16, 2025
Merged

box: move schema_needs_upgrade from internal#11936
locker merged 1 commit intotarantool:masterfrom
mkostoevr:m.kostoev/box.schema.needs_upgrade

Conversation

@mkostoevr
Copy link
Contributor

The function is now available as box.schema.needs_upgrade and checks if the instance is configured as the result is meaningless otherwise.

Closes #11877

@mkostoevr mkostoevr self-assigned this Oct 15, 2025
@mkostoevr mkostoevr force-pushed the m.kostoev/box.schema.needs_upgrade branch from a0121ed to e426178 Compare October 15, 2025 14:43
@mkostoevr mkostoevr marked this pull request as ready for review October 15, 2025 14:44
@coveralls
Copy link

coveralls commented Oct 15, 2025

Coverage Status

coverage: 87.632% (-0.01%) from 87.645%
when pulling 419dba2 on mkostoevr:m.kostoev/box.schema.needs_upgrade
into d3830b9
on tarantool:master
.

@mkostoevr mkostoevr force-pushed the m.kostoev/box.schema.needs_upgrade branch from e426178 to d1fec84 Compare October 15, 2025 16:05
@mkostoevr mkostoevr requested a review from a team as a code owner October 15, 2025 16:05
@mkostoevr mkostoevr requested a review from locker October 16, 2025 06:45
@mkostoevr mkostoevr assigned locker and unassigned mkostoevr Oct 16, 2025
@locker locker assigned mkostoevr and unassigned locker Oct 16, 2025
@mkostoevr mkostoevr added the full-ci Enables all tests for a pull request label Oct 16, 2025
The function is now available as box.schema.needs_upgrade and checks
if the instance is configured as the result is meaningless otherwise.

Closes tarantool#11877

@TarantoolBot document
Title: box.schema.needs_upgrade can now be used
Since: 3.6
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_schema/upgrade/

The `box.schema.needs_upgrade` function can be used to check if the
schema version does not correspond to the current instance version.
@mkostoevr mkostoevr force-pushed the m.kostoev/box.schema.needs_upgrade branch from d1fec84 to 419dba2 Compare October 16, 2025 10:43
@mkostoevr mkostoevr assigned locker and unassigned mkostoevr Oct 16, 2025
@locker locker merged commit 68955ea into tarantool:master Oct 16, 2025
44 of 45 checks passed
Satbek added a commit to tarantool/metrics that referenced this pull request Oct 17, 2025
…upgrade`

In tarantool tarantool/tarantool#11936 were implemented
`box.schema.needs_upgrade` instead of `box.schema_needs_upgrade`, so we have to
rename it.
Satbek added a commit to tarantool/metrics that referenced this pull request Oct 17, 2025
…upgrade`

In tarantool tarantool/tarantool#11936 were implemented
`box.schema.needs_upgrade` instead of `box.schema_needs_upgrade`, so we have to
rename it.
Satbek added a commit to tarantool/metrics that referenced this pull request Oct 17, 2025
…pgrade`

In tarantool tarantool/tarantool#11936 were implemented
`box.schema.needs_upgrade` instead of `box.schema_needs_upgrade`, so we have to
rename it.
patapenka-alexey pushed a commit to tarantool/metrics that referenced this pull request Oct 20, 2025
…pgrade`

In tarantool tarantool/tarantool#11936 were implemented
`box.schema.needs_upgrade` instead of `box.schema_needs_upgrade`, so we have to
rename it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Enables all tests for a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move the box.internal.schema_needs_upgrade method out of internal.

4 participants