-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 timeout for storage/meta clients and add some error logs #1399
Conversation
Can you log the mapping of uuid-value and value ? |
Unit testing passed. |
Unit testing failed. |
Good point. I have added some error logs for uuid request. It will output the string id.
|
<< ", part " << rc.get_part_id() << ", str id " << toString(); | ||
return OptVariantType(Status::Error("Get UUID Failed")); | ||
} | ||
return v.get_id(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about vlog the mapping of uuid and value for success ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
Unit testing passed. |
Very good |
Sorry I have a small question here, is |
LGTM |
Unit testing passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good Work ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Unit testing passed. |
…inc#1399) * Add timeout for storage/meta clients and add some eror logs * address zlcook's comments
…inc#1399) * Add timeout for storage/meta clients and add some eror logs * address zlcook's comments
Co-authored-by: jie.wang <38901892+jievince@users.noreply.github.com>
It is reported by our users.
After network broken down, the storaged can't connect to metad some times, meanwhile the graphd can't connect to storaged either. Currently, the client will wait for the response without timeout, it is unreasonable.
"timeout" will be helpful to recover from broken connections.
The error logs here is to help our users figure out the problems if failed.