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

tarantool / crud / 21364862659

26 Jan 2026 04:13PM UTC coverage: 73.492% (-15.0%) from 88.463%
21364862659

push

github

web-flow
Merge f981517ee into a84e19f3e

4253 of 5787 relevant lines covered (73.49%)

55.69 hits per line

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

77.78
/crud/select/compat/common.lua
1
local ratelimit = require('crud.ratelimit')
19✔
2
local utils = require('crud.common.utils')
19✔
3
local check_select_safety_rl = ratelimit.new()
19✔
4

5
local common = {}
19✔
6

7
common.SELECT_FUNC_NAME = utils.get_storage_call('select_on_storage')
38✔
8
common.READVIEW_SELECT_FUNC_NAME = utils.get_storage_call('select_readview_on_storage')
38✔
9
common.DEFAULT_BATCH_SIZE = 100
19✔
10

11
common.check_select_safety = function(space_name, plan, opts)
12
    if opts.fullscan == true then
6✔
13
        return
2✔
14
    end
15

16
    if opts.first ~= nil and math.abs(opts.first) <= 1000 then
4✔
17
        return
×
18
    end
19

20
    local iter = plan.tarantool_iter
4✔
21
    if iter == box.index.EQ or iter == box.index.REQ then
4✔
22
        return
4✔
23
    end
24

25
    local rl = check_select_safety_rl
×
26
    local traceback = debug.traceback()
×
27
    rl:log_crit("Potentially long select from space '%s'\n %s", space_name, traceback)
×
28
end
29

30
return common
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