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

tarantool / tarantool / 16324237811

16 Jul 2025 03:51PM UTC coverage: 87.593% (+0.003%) from 87.59%
16324237811

push

github

sergepetrenko
memtx: fix tuple waste size calculation

The main part of the fix resides in the `small` submodule, see commit
"small: improve real_size calculation in small_alloc_info". Current
patch fixes the pointer that is passed to `small_alloc_info()` - it
should point to the `memtx_tuple` rather than `tuple`. Also `memtx_tuple`
contains `uint32_t version` that had not been accounted before, now these
4 bytes are added to the `header_size`.

Closes #10217

@TarantoolBot document
Title: Remove the note regarding `waste_size` from `tuple_object.info()`
Product: Tarantool
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_tuple/info/#box-tuple-info

Remove the following note: `waste_size` is provided for reference only and
can be inaccurate. Avoid using it for memory usage calculations.

70738 of 124551 branches covered (56.79%)

10 of 15 new or added lines in 2 files covered. (66.67%)

34 existing lines in 20 files now uncovered.

103969 of 118695 relevant lines covered (87.59%)

1404236.07 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.37
/src/box/lua/init.c


Source Not Available

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

© 2025 Coveralls, Inc