-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ack handler #2516
Merged
Merged
Ack handler #2516
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f467eda
Merge condtion
ganmacs d452d50
Wrap mutex and waiting queue
ganmacs 1bc39a4
create ACKWaitingSockInfo in enqueue
ganmacs 69af0cb
share ack_handler between nodes
ganmacs a94646d
Copy read_ack_from_sock
ganmacs 77488a1
log
ganmacs a21e94c
trim receiver
ganmacs f22490a
make find and delete private
ganmacs f6d0765
move code and return chunk_id directly
ganmacs a1d87f0
Return the value success or not and info
ganmacs c9f4e9a
copy ack_reader
ganmacs 5d6e700
same class
ganmacs 0d4435b
log
ganmacs 41e4b50
pass success or not to caller
ganmacs f6259c0
readable_sockets can be nil
ganmacs 2623750
Move method position and remove unused code
ganmacs f8aecda
cosmetic change
ganmacs c4b7629
extract as file
ganmacs 3c637ac
move unapcker into ack_handler
ganmacs 08a3954
cosmetic change
ganmacs 1dcd3dc
Add result module
ganmacs 3bac793
chunk_id is better
ganmacs 11a8232
Fix failed test
ganmacs f6e4dda
Add test for ack_handler
ganmacs 8940b4d
Add require for
ganmacs 134070d
Change method name to proper name
ganmacs cce3112
Change timeout to keyword arg
ganmacs bf149c8
Calculate expired_time in advance
ganmacs 07a85d3
add BUG prefix
ganmacs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
result is 3 types so this
else
flow is for catching implementation bug, right?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.
Yes. this condition is for the case I don't expect now happen.
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.
If so, add
BUG:
to log message is better for notification.fluentd/lib/fluent/plugin_helper/socket.rb
Line 160 in 73de02a