Skip to content

Commit

Permalink
Add note for update_retry parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
repeatedly committed Nov 29, 2017
1 parent 59a47a1 commit 99d19a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fluent/plugin/output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,8 @@ def commit_write(chunk_id, delayed: @delayed_commit, secondary: false)
end
end

# update_retry parameter is for preventing busy loop by async write
# We will remove this parameter by re-design retry_state management between threads.
def rollback_write(chunk_id, update_retry: true)
# This API is to rollback chunks explicitly from plugins.
# 3rd party plugins can depend it on automatic rollback of #try_rollback_write
Expand Down

0 comments on commit 99d19a4

Please sign in to comment.