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

HDDS-10431. Merge recent commits from master (7c8160fe) to HDDS-7593 #6286

Merged
merged 111 commits into from
Mar 7, 2024

Conversation

smengcl
Copy link
Contributor

@smengcl smengcl commented Feb 27, 2024

What changes were proposed in this pull request?

Merge recent commits from master to HDDS-7593. Resolve code conflicts (mostly imports), and manually fix changes that are not solved by auto merge:

  1. Adapt to HDDS-10226 in TestOmMetadataManager and TestOMRecoverLeaseRequest.
  2. Adapt to HDDS-10410 in FilePerBlockStrategy.
  3. Set modification time in test util createOmKeyInfo to fix the test failure of testLeaseSoftLimitForHsyncRecoverFile: cd7c790 This is properly fixed in master branch in HDDS-10482, which is also included in this merge.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10431

How was this patch tested?

  • Green CI.

kerneltime and others added 30 commits February 8, 2024 06:14
@jojochuang
Copy link
Contributor

Cherrypicking HDDS-9843. Ozone client high memory (heap) utilization on top of
HDDS-9751. [hsync] Make Putblock performance acceptable - DataNode side (#5662)
failed that test. Cherrypicking HDDS-9843 on the commit before does not fail. HDFS-9751 is what caused the problem.

@smengcl
Copy link
Contributor Author

smengcl commented Mar 5, 2024

During CI debugging, I've noticed that because unit job depends on basic but not on build (plus the fact that build takes longer than basic), a race can unintentionally cause the unit job to use an old cached ozone build to run the actual test. This caused my change to print extra debugging log in my branch to not take effect.

My question: Should we make build a dependency of unit? Or is there a reason not to do so? Posted PR #6333

cc @adoroszlai

@jojochuang
Copy link
Contributor

Apart from HDDS-10471, another problem is TestOMRecoverLeaseRequest#testLeaseSoftLimitForHsyncRecoverFile fails consistently. It looks like a regression in the master branch where modification time of an open key is always zero.

@smengcl
Copy link
Contributor Author

smengcl commented Mar 6, 2024

Just brought 3 new commits including the Direct ByteBuffer crash fix HDDS-10471 into the dev branch:

be5ffc29e2 HDDS-10471. [hsync] MockDatanodeStorage.writeChunk should make a copy of byte string. (#6334)
f244a67037 HDDS-10252. [hsync] Revisit configuration keys for incremental chunk list after HDDS-9884 (#6289)
1cf9e95eef HDDS-10427. Retry read wait based on policy. (#6292)

Copy link
Contributor

@jojochuang jojochuang left a comment

Choose a reason for hiding this comment

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

+1

please make sure the git history is not squashed together. Otherwise we can merge it. Thanks!

@smengcl smengcl changed the title HDDS-10431. Merge recent commits from master (54548aa7) to HDDS-7593 HDDS-10431. Merge recent commits from master (7c8160fe) to HDDS-7593 Mar 7, 2024
@jojochuang
Copy link
Contributor

LGTM

@smengcl
Copy link
Contributor Author

smengcl commented Mar 7, 2024

Thanks @jojochuang for reviewing this. I will push from local in a minute.

@smengcl smengcl merged commit 3cadb24 into apache:HDDS-7593 Mar 7, 2024
41 checks passed
@smengcl
Copy link
Contributor Author

smengcl commented Mar 7, 2024

Done.

Also thanks @jojochuang for all the help on resolving the test failures in this one!

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.