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

Add option to get reign for ytserver-all #521

Open
l0kix2 opened this issue Apr 10, 2024 · 2 comments · May be fixed by #601
Open

Add option to get reign for ytserver-all #521

l0kix2 opened this issue Apr 10, 2024 · 2 comments · May be fixed by #601
Labels
help wanted We would appreciate PR master Master related

Comments

@l0kix2
Copy link
Contributor

l0kix2 commented Apr 10, 2024

It would be useful for ytsaurus/yt-k8s-operator#200 to compare old and new image of master reign.

Something like /usr/bin/ytserver-all --reign would do.

@koct9i
Copy link
Collaborator

koct9i commented Apr 10, 2024

Let's add one flat kv/json/yson structure which could contain all reigns, yt verison, rpc protocol versions, etc.

@Kontakter Kontakter added the help wanted We would appreciate PR label Apr 12, 2024
@zlobober
Copy link
Collaborator

zlobober commented May 9, 2024

Let's do it in simple form only for master reigns for now.
Only for ytserver-master, let's add a flag "--compatibility-info", which prints a single YSON of form:

{
    "current_reign" = 1234;
}

Relevant code:

abogutskiy pushed a commit to abogutskiy/ytsaurus that referenced this issue May 22, 2024
@abogutskiy abogutskiy linked a pull request May 22, 2024 that will close this issue
abogutskiy pushed a commit to abogutskiy/ytsaurus that referenced this issue May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We would appreciate PR master Master related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants