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

tarantool / tarantool / 9417076239
88%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2024 12:47PM UTC
Jobs 1
Files 513
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

07 Jun 2024 12:35PM UTC coverage: 87.09% (-0.02%) from 87.114%
9417076239

push

github

locker
vinyl: fix crash on extending secondary key parts with primary

If a secondary index is altered in such a way that its key parts are
extended with the primary key parts, rebuild isn't required because
`cmp_def` doesn't change, see `vinyl_index_def_change_requires_rebuild`.
In this case `vinyl_index_update_def` will try to update `key_def` and
`cmp_def` in-place with `key_def_copy`. This will lead to a crash
because the number of parts in the new `key_def` is greater.

We can't use `key_def_dup` instead of `key_def_copy` there because
there may be read iterators using the old `key_def` by pointer so
there's no other option but to force rebuild in this case.

The bug was introduced in commit 64817066ff60 ("vinyl: use update_def
index method to update vy_lsm on ddl").

Closes #10095

NO_DOC=bug fix

67683 of 120729 branches covered (56.06%)

4 of 4 new or added lines in 1 file covered. (100.0%)

66 existing lines in 22 files now uncovered.

100380 of 115260 relevant lines covered (87.09%)

2493798.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9417076239.1 07 Jun 2024 12:47PM UTC 0
87.09
GitHub Action Run
Source Files on build 9417076239
Detailed source file information is not available for this build.
  • Back to Repo
  • 9b817848 on github
  • Prev Build on master (#9416809538)
  • Next Build on master (#9431114575)
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