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

tarantool / tarantool / 12182686276
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fix-test-dir-for-gitlab-ci
DEFAULT BRANCH: master
Ran 05 Dec 2024 03:30PM UTC
Jobs 1
Files 514
Run time 1min
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

05 Dec 2024 03:17PM UTC coverage: 87.268% (-0.004%) from 87.272%
12182686276

push

github

Totktonada
config: fix schema:get()/set() changes passed path

This patch makes `schema:get()`, `schema:set()` and `config:get()` not
change the passed path argument when it is a table.

The problem was in the way the walkthrough process is set up during the
`schema:get()` and `schema:set()` method execution. These methods used
`walkthrough_start()` performing a shallow copy of the passed option
table containing the information on the desired path. The value of
the path was modified during the walkthrough itself. The patch makes
the methods perform a shallow copy of the path field. It also fixes
`config:get()` since it's internally uses `schema:get()`.

This is how broken scenario could be reproduced when using
`config:get()`:
```
tarantool> config = require('config')
tarantool> path = {'fiber', 'slice'}
tarantool> config:get(path)
---
- err: 1
  warn: 0.5
...

tarantool> path
---
- []
...
```

Closes #10855

NO_DOC=bugfix

(cherry picked from commit fb5740cae)

68556 of 121788 branches covered (56.29%)

101171 of 115931 relevant lines covered (87.27%)

2668980.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12182686276.1 05 Dec 2024 03:30PM UTC 0
87.27
GitHub Action Run
Source Files on build 12182686276
Detailed source file information is not available for this build.
  • Back to Repo
  • 34f4ef02 on github
  • Prev Build on release/3.2 (#12167053791)
  • Next Build on release/3.2 (#12198771796)
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