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

tarantool / tarantool / 13052864879

30 Jan 2025 12:57PM UTC coverage: 85.971% (-0.01%) from 85.981%
13052864879

push

github

locker
box.sequence: sequence_data recovery after reset

There are two sources of sequence state in tarantool: `_sequence_data`
table and its light version used in `box/sequence.c` which is stored
in a hashmap. The reason for this decision was lack of cross-engine
transactions. The first is used in lua API, the second -- internally
to process memtx index updates. Now lua `reset()` call is always replayed
during the final recovery on one hand and we don't rely on the spaces
(other than system ones) content during the initial recovery since the
latest hasmap state is stored into the snapshot directly on the other
hand.

Fixes #9871
NO_DOC=bugfix

(cherry picked from commit 88fc5c100)

63268 of 114545 branches covered (55.23%)

18 of 24 new or added lines in 2 files covered. (75.0%)

27 existing lines in 5 files now uncovered.

94128 of 109488 relevant lines covered (85.97%)

2326043.57 hits per line

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

89.5
/src/box/memtx_engine.cc


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

© 2026 Coveralls, Inc