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

tarantool / tarantool / 9417103298 / 1
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: m.kostoev/delete_range
DEFAULT BRANCH: master
Ran 07 Jun 2024 01:08PM UTC
Files 479
Run time 22s
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:36PM UTC coverage: 85.836% (+0.007%) from 85.829%
9417103298.1

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

(cherry picked from commit 9b817848c)

62680 of 113880 branches covered (55.04%)

93552 of 108989 relevant lines covered (85.84%)

2637389.93 hits per line

Source Files on job 9417103298.1
  • Tree
  • List 0
  • Changed 402
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9417103298
  • 05fa2f74 on github
  • Prev Job for on release/2.11 (#9415620077.1)
  • Next Job for on release/2.11 (#9445381440.1)
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