-
Notifications
You must be signed in to change notification settings - Fork 592
HDDS-6138.[Ozone-Streaming] Define a limit on the size of the retry b… #2946
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
Conversation
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockDataStreamOutput.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockDataStreamOutput.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockDataStreamOutput.java
Outdated
Show resolved
Hide resolved
|
Hi @sadanand48, can you update this PR? |
|
Hi @sadanand48, I tried the cherry-pick PR in my local test, but this CI never passed. Can you confirm the problem of CI? |
|
@captainzmc I have fixed some tests that were failing. The current CI failure I think is related to HDDS-6239 . We should sync master with this branch to resolve this |
Thanks @sadanand48 for the update. Just now I have synchronized HDDS-4454 with master. Could you rebase the code? The PR looks good overall, just left a minor comment. |
|
Hi @sadanand48, In #3059 we had update ratis version and resolve dependency check issues. Currently #3059 has been merged, So you can remove the modification of these two parts in this PR. |
581a10e to
5a85fdc
Compare
|
Thanks @captainzmc for taking care of the dependency check. I have rebased the PR now. |
captainzmc
left a comment
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.
+1 The change looks good.
|
Merge this PR. Thanks for @sadanand48’s contribution and @bshashikant for the review. |
…ufferList. (apache#2946) Co-authored-by: Sadanand Shenoy <[email protected]>
…ufferList. (apache#2946) (cherry picked from commit 340f959)
…ufferList.
What changes were proposed in this pull request?
This is a follow up to HDDS-5851. Define a limit/window on the bufferList size which is used for retry. Once this limit is hit , client will perform watchForCommit for the first flush size (first putBlock) worth of data.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6138
How was this patch tested?
unit tests