Skip to content

User should not set box.cfg.background = true with tt start #4079

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

Closed
Tracked by #3850
TarantoolBot opened this issue Mar 6, 2024 · 0 comments · Fixed by #4169
Closed
Tracked by #3850

User should not set box.cfg.background = true with tt start #4079

TarantoolBot opened this issue Mar 6, 2024 · 0 comments · Fixed by #4169
Assignees
Labels
reference [location] Tarantool manual, Reference part tt cli

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Mar 6, 2024

Related dev. issue(s): tarantool/tt#780

Product: tt
Since: 2.2.0
Root document:

SME: @ oleg-jukovec

Details

tt start daemonizes a Tarantool process itself. The box.cfg.background
setting does the same thing from a Tarantool process. These features
conflict with each other. As a result, tt status shows an invalid
status of a Tarantool instance, and it is unable to stop the instance
with tt stop.

A user should never set box.cfg.background = true in an application
code that is started by tt.

Closes tarantool/tt#780
Requested by @ oleg-jukovec in tarantool/tt@c9b70e2.

@andreyaksenov andreyaksenov self-assigned this Mar 6, 2024
@andreyaksenov andreyaksenov added 3.0 tt cli reference [location] Tarantool manual, Reference part and removed 3.0 labels Mar 7, 2024
@andreyaksenov andreyaksenov removed their assignment Apr 4, 2024
@p7nov p7nov mentioned this issue Apr 11, 2024
20 tasks
@p7nov p7nov changed the title User should not to set box.cfg.background = true with tt start User should not set box.cfg.background = true with tt start Apr 16, 2024
@p7nov p7nov self-assigned this Apr 22, 2024
p7nov added a commit that referenced this issue Apr 23, 2024
)

Resolves #4079
Related to #4014

---------

Co-authored-by: Andrey Aksenov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reference [location] Tarantool manual, Reference part tt cli
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants