Skip to content

feedback: Submodule box.info #893

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
TarantoolBot opened this issue Sep 5, 2019 · 5 comments · Fixed by #964
Closed

feedback: Submodule box.info #893

TarantoolBot opened this issue Sep 5, 2019 · 5 comments · Fixed by #964
Assignees
Labels
bug Something isn't working

Comments

@TarantoolBot
Copy link
Collaborator

<…>the
downstream instance disconnects from the upstream instance. |Otherwise the
status is not reported|.

box.info()
Since box.info contents are dynamic, it’s not<…>

https://www.tarantool.io/en/doc/2.2/book/box/box_info/

This sentence is whong and should be re-checked

@Totktonada
Copy link
Member

See tarantool/tarantool#3904

@lenkis lenkis added 1.10 bug Something isn't working labels Sep 6, 2019
v-izmalkov pushed a commit that referenced this issue Sep 13, 2019
Added follow status.
Will need a translation.
@v-izmalkov
Copy link
Contributor

Added follow status as per tarantool/tarantool#3904.
But as i was testing the behaviour in different versions i found, that in versions 2.1 and 2.2 the downstream shown as follows:

downstream:
      status: follow
      idle: 0.79490400000941
      vclock: {3: 1, 1: 6}

which means there is additional idle in downstream. Note this is not the case for 1.10 versions i have tried.
Is there a correct description for this parameter available anywhere? @Totktonada

v-izmalkov pushed a commit that referenced this issue Sep 13, 2019
Fixed status name and some wording in description.
@Totktonada
Copy link
Member

See tarantool/tarantool@a4a7744

It is a current time minus a time when a last row was sent by a relay.

@v-izmalkov
Copy link
Contributor

See tarantool/tarantool@a4a7744

It is a current time minus a time when a last row was sent by a relay.

Is it time of "sent" by other server (so additional time sync issues possible) or local time the moment it has been received?

@Totktonada
Copy link
Member

As I see it is pure local value: when a relay sends a row it updates last_row_time value with a current time. When box.info() is called, idle is set to current_time - last_row_time.

v-izmalkov pushed a commit that referenced this issue Sep 16, 2019
This is the same fix as with v. 1.10 but with added downstream.idle description.
Translation needed
v-izmalkov pushed a commit that referenced this issue Sep 16, 2019
Updated the example to represent features, relevant to version 2.2
lenkis pushed a commit that referenced this issue Oct 21, 2019
* Fix gh-893 (v.2.2 specific) feedback: Submodule box.info

This is the same fix as with v. 1.10 but with added downstream.idle description.
Translation needed

* Update gh-893 feedback: Submodule box.info

Updated the example to represent features, relevant to version 2.2

* Fix gh-899 feedback: Module key_def

Added round brackets and pretify the text description.
Translation needed for this page.
v-izmalkov pushed a commit that referenced this issue Oct 29, 2019
Added follow status.
Will need a translation.
v-izmalkov pushed a commit that referenced this issue Oct 29, 2019
Fixed status name and some wording in description.
lenkis pushed a commit that referenced this issue Nov 11, 2019
Fix gh-876 document reaction on error in replication configuration change
Upd gh-868 Tarantool dependency list was changed
Fix gh-869 Сonfusing wording in box.backup page
Fix gh-893 feedback: Submodule box.info
Fix gh-902 feedback: Сборка из исходных файлов
Fix gh-915 feedback: Building from source
Fix gh-920 feedback: Module vshard
Fix gh-922 feedback: Module vshard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants