Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1820] Failing to write and flush StreamChunk data should be…
… counted as FETCH_CHUNK_FAIL <!-- Thanks for sending a pull request! Here are some tips for you: - Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'. - Be sure to keep the PR description updated to reflect all changes. - Please write your PR title to summarize what this PR proposes. - If possible, provide a concise example to reproduce the issue for a faster review. --> ### What changes were proposed in this pull request? - In current implementation, we use `writeAndFlush` to send chunk data to client asynchronously. Failing to write and flush StreamChunk data to remote should be counted as FETCH_CHUNK_FAIL. - Add remote client address in log for debug. ### Why are the changes needed? It it important to monitor FETCH_CHUNK_FAIL count correctly. ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? Closes #3051 from Z1Wu/fix/fetch_handler_metrics. Authored-by: wuziyi <[email protected]> Signed-off-by: mingji <[email protected]>
- Loading branch information