Show box configuration stages #7563
Totktonada
started this conversation in
Ideas
Replies: 2 comments
-
The only thing I worry irrelevant here but seems that flight have to be first. |
Beta Was this translation helpful? Give feedback.
0 replies
-
#7938 lands to future 2.11. The documentation request: tarantool/doc#3242. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
box configuration has several phases. A user can access box in some of intermediate stages. Here I propose to bring more transparency about box's state.
The rough list of the stages (collected from the source code):
box.<...>
members (exceptexecute
). Stop raisingPlease call box.cfg{} first
errors on accessing the members.box_is_configured()
frombox.cc
starts to returntrue
.box.execute
(see e8d5515).box_is_configured
fromload_cfg.lua
totrue
.flightrec
if available.Several thoughts around:
box.info().status
for this purpose due to backward compatibility concerns. I propose to add another field.'001 description'
,'002 description'
and so on. Or, maybe, make them tables like{num = <...>, name = <...>}
.The discussion originates from #7407.
Beta Was this translation helpful? Give feedback.
All reactions