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

Fix Large Object Handler Memory Issue #62

Merged
merged 2 commits into from
Jan 12, 2017

Conversation

windkit
Copy link
Contributor

@windkit windkit commented Jan 10, 2017

Description

Switch to rpc:call and gen_server:call with {timeout, infinity}

Related Issue

leo-project/leofs#570

Error ->
?warn("invoke/5", [{error, Error}]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may cause logging burst problem when clients try to access a file that doesn't exist as I previously mentioned at another issue.
as you know, handle_error already has produced warning in case badrpc and unknown one and
IIRC the caller leo_gateway_s3_api logged in case unavailable so removing this line looks good to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for you comment, I have updated the PR

@yosukehara yosukehara merged commit 7bac891 into leo-project:develop Jan 12, 2017
@yosukehara
Copy link
Member

@windkit Reviewed and merged, thanks.

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 this pull request may close these issues.

3 participants