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

Improve the clarity of handle_object_info_request in authority.rs #472

Closed
lxfind opened this issue Feb 17, 2022 · 0 comments · Fixed by #484
Closed

Improve the clarity of handle_object_info_request in authority.rs #472

lxfind opened this issue Feb 17, 2022 · 0 comments · Fixed by #484

Comments

@lxfind
Copy link
Contributor

lxfind commented Feb 17, 2022

handle_object_info_request currently serves two purposes:

  1. Return the historical information (ref, cert) at a specific version about an object
  2. Return the latest object state (in fact, this part is always returned).

It can be confusing to mix the two functionalities. For example, there are may be specific checks we want to do when requesting the latest object (cross checking the object digest and etc.). And we want to make sure we don't use the latest object state in the response if we are requesting the historical information.
Some context on the discussion:
https://mysten-labs.slack.com/archives/C02GD7J9HUM/p1645124209747649

mwtian pushed a commit that referenced this issue Sep 12, 2022
)

We operate an executor with a bound on the concurrent number of messages (see #463, #559, #706).
PR #472 added logging for the bound being hit.

We expect the executors to operate for a long time at this limit (e.g. in recovery situation).
The spammy logging is not usfeful

This removes the logging of the concurrency bound being hit.
Fixes #759
mwtian pushed a commit to mwtian/sui that referenced this issue Sep 29, 2022
…ystenLabs#763)

We operate an executor with a bound on the concurrent number of messages (see MystenLabs#463, MystenLabs#559, MystenLabs#706).
PR MystenLabs#472 added logging for the bound being hit.

We expect the executors to operate for a long time at this limit (e.g. in recovery situation).
The spammy logging is not usfeful

This removes the logging of the concurrency bound being hit.
Fixes MystenLabs#759
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant