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

tarantool / crud / 21338668454

25 Jan 2026 08:00PM UTC coverage: 73.505% (-15.0%) from 88.463%
21338668454

Pull #477

github

ita-sammann
test: dump xlogs and snaps for debug
Pull Request #477: test: attempt to mitigate replication bug on cluster start

1 of 2 new or added lines in 1 file covered. (50.0%)

856 existing lines in 47 files now uncovered.

4253 of 5786 relevant lines covered (73.51%)

55.54 hits per line

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

43.48
/crud/common/batching_utils.lua
1
local errors = require('errors')
19✔
2
local dev_checks = require('crud.common.dev_checks')
19✔
3
local sharding_utils = require('crud.common.sharding.utils')
19✔
4

5
local NotPerformedError = errors.new_class('NotPerformedError', {capture_stack = false})
19✔
6

7
local batching_utils = {}
19✔
8

9
batching_utils.stop_on_error_msg = "Operation with tuple was not performed"
19✔
10
batching_utils.rollback_on_error_msg = "Operation with tuple was rollback"
19✔
11

12
function batching_utils.construct_sharding_hash_mismatch_errors(err_msg, tuples)
19✔
UNCOV
13
    dev_checks('string', 'table')
×
14

UNCOV
15
    local errs = {}
×
16

UNCOV
17
    for _, tuple in ipairs(tuples) do
×
UNCOV
18
        local err_obj = sharding_utils.ShardingHashMismatchError:new(err_msg)
×
UNCOV
19
        err_obj.operation_data = tuple
×
UNCOV
20
        table.insert(errs, err_obj)
×
21
    end
22

UNCOV
23
    return errs
×
24
end
25

26
function batching_utils.complement_batching_errors(errs, err_msg, tuples)
19✔
UNCOV
27
    dev_checks('table', 'string', 'table')
×
28

UNCOV
29
    for _, tuple in ipairs(tuples) do
×
UNCOV
30
        local err_obj = NotPerformedError:new(err_msg)
×
UNCOV
31
        err_obj.operation_data = tuple
×
UNCOV
32
        table.insert(errs, err_obj)
×
33
    end
34

UNCOV
35
    return errs
×
36
end
37

38
return batching_utils
19✔
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