• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 11256382700
88%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2024 02:02PM UTC
Jobs 1
Files 515
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Oct 2024 01:49PM UTC coverage: 87.317% (+0.02%) from 87.299%
11256382700

push

github

locker
schema: broadcast persistent schema version in box.status

in order to simplify the upgrade process. However, some DDL will
remain forbidden until box.schema.upgrade is called, e.g. creating
persistent triggers when upgrading to 3.0.0.

In order to make writing upgrade triggers easier this commit adds
new field to the box.status system event: dd_version. This should
not be confused with schema.version value, as the latter shows, whether
the database schema (e.g. creating space) was updated.
box.status.dd_version on the other side is the value of the
persistent schema from box.space._schema['version'].

Without box.status.dd_version user has to set on_replace trigger for
box.space._schema, which will check version and rw state, after which
trigger will send it further. The problem with this approach is the fact,
that it requires synchronization of two changing states: dd schema
version and rw state, which is difficult to achieve.

With box.status.dd_version user has to just set watcher, which
checks !status.is_ro and status.dd_version >= needed one.

Closes #10546

@TarantoolBot document
Title: New field in box.status system event, dd_version
Since: Tarantool 3.3.0
Root: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_events/system_events/#system-events

dd_version: string, shows the version of schema database from
box.space.schema['version']. Not to be confused with box.schema.version.

69151 of 122879 branches covered (56.28%)

4 of 4 new or added lines in 2 files covered. (100.0%)

18 existing lines in 12 files now uncovered.

101958 of 116768 relevant lines covered (87.32%)

2593663.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11256382700.1 09 Oct 2024 02:02PM UTC 0
87.32
GitHub Action Run
Source Files on build 11256382700
Detailed source file information is not available for this build.
  • Back to Repo
  • dde46028 on github
  • Prev Build on master (#11254410032)
  • Next Build on master (#11273371464)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc