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

tarantool / tarantool / 8711183720
85%
master: 88%

Build:
Build:
LAST BUILD BRANCH: release/3.5
DEFAULT BRANCH: master
Ran 16 Apr 2024 07:22PM UTC
Jobs 1
Files 459
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

16 Apr 2024 07:10PM UTC coverage: 85.119% (-0.009%) from 85.128%
8711183720

push

github

alyapunov
memtx: fix a bug with mvcc and exclude_null option

Before this patch MVCC engine expected that if index_replace
sets `result` to NULL then index_replace sets `successor` to
something (NULL or existing tuple, depending on index type).
That looked fine because by contract `successor` is set when
true insertion was happened.

Unfortunately it was not considered that in case of part with
`exclude_null` option in index the insertion can be silently
skipped and thus `successor` can be not set. The latter access
of it was actually an UB.

Fix it by explicit check of tuple_key_is_excluded and work on
this case correctly.

Note that logically `index_replace` should return a flag whether
the new tuple was filtered (excluded) by key_def. But on the other
hand this flag is required only for mvcc while the function is
already has lots of arguments and it's very cheap to determine
this flag right from memtx_tx, so I decided to make the most
simple patch.

NO_DOC=bugfix

(cherry picked from commit 14e212976)

59321 of 108297 branches covered (54.78%)

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

28 existing lines in 10 files now uncovered.

90491 of 106311 relevant lines covered (85.12%)

2170497.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8711183720.1 16 Apr 2024 07:22PM UTC 0
85.12
GitHub Action Run
Source Files on build 8711183720
Detailed source file information is not available for this build.
  • Back to Repo
  • 04b99a36 on github
  • Prev Build on release/2.10 (#8692842434)
  • Next Build on release/2.10 (#8833571214)
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