Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration status is shown in box.info.config now #4238

Closed
Tracked by #4294
TarantoolBot opened this issue May 24, 2024 · 0 comments · Fixed by #4427
Closed
Tracked by #4294

Configuration status is shown in box.info.config now #4238

TarantoolBot opened this issue May 24, 2024 · 0 comments · Fixed by #4427
Assignees
Labels
3.2 config reference [location] Tarantool manual, Reference part

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented May 24, 2024

Product: Tarantool
Since: 3.2
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/
SME: @ Totktonada

There is the config:info([version]) method, but in order to access it
over iproto an application developer should add something like the
following into the application code:

_G.config = require('config')

It is not convenient, at least because it requires an attention from the
application developer and it can't be solved solely by an administrator.

Now, the config:info('v2') result is reported in the config field of
the box.info table. It is accessible over iproto if appropriate
privileges are granted for a calling user.

Requested by @Totktonada in tarantool/tarantool@a1544d3 (tarantool/tarantool#10044, tarantool/tarantool#10051)

@veod32 veod32 added the config label May 31, 2024
@andreyaksenov andreyaksenov added the reference [location] Tarantool manual, Reference part label Jun 19, 2024
@andreyaksenov andreyaksenov removed their assignment Jun 19, 2024
@andreyaksenov andreyaksenov self-assigned this Aug 8, 2024
@andreyaksenov andreyaksenov linked a pull request Aug 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2 config reference [location] Tarantool manual, Reference part
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants