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

Please, provide config-mode: not configured yet #10011

Open
unera opened this issue May 14, 2024 · 1 comment
Open

Please, provide config-mode: not configured yet #10011

unera opened this issue May 14, 2024 · 1 comment
Labels
feature A new functionality

Comments

@unera
Copy link
Collaborator

unera commented May 14, 2024

Common architecture:

  • Database - hosted on its own hosts
  • 1..N applications - hosted on its own hosts

Note: Restarting (upgrade/reconfigure) process for each item is independent.

Now we have the database start algo:

  1. load lua (PREREQUIRE stage)
  2. load snapshot
  3. recovery xlogs, connect the other replicas
  4. apply config roles (load user's lua)

Note: tarantool listens port at point 1 but is fully configured only at (after) point 4.

So, for example, now tarantool can return several errors between points 1 and 4:

  • No such function
  • No such user | Auth error
  • No such space
    etc

But if we remember common architecture paragraph, we can say that such errors are unexpected for common application.

"Network error" - is expected error, but "No such space" or "No such function" aren't!

So, it would be nice to add some config options for IPROTO

  1. Delay all IPROTO-replies until config is fully done (excluding JOIN/SUBSCRIBE)
  2. Return one (one!) documented error until config is fully done
@unera unera added the feature A new functionality label May 14, 2024
@Totktonada
Copy link
Member

See also 601bb92 and #3776.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

2 participants