-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Upload translog.ckp file data as object metadata with translog.tlog file for s3 remote store #13272
Upload translog.ckp file data as object metadata with translog.tlog file for s3 remote store #13272
Conversation
…3 remote store Signed-off-by: Sandeep Kumawat <[email protected]>
…ta upload Signed-off-by: Sandeep Kumawat <[email protected]>
…te upload Signed-off-by: Sandeep Kumawat <[email protected]>
…3 remote store Signed-off-by: Sandeep Kumawat <[email protected]>
…ta upload Signed-off-by: Sandeep Kumawat <[email protected]>
…te upload Signed-off-by: Sandeep Kumawat <[email protected]>
Signed-off-by: Sandeep Kumawat <[email protected]>
…earch into storage-13094
❌ Gradle check result for b22a58d: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
❌ Gradle check result for fde9788: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 57326eb: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
57326eb
to
23f4a64
Compare
❌ Gradle check result for 23f4a64: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for e69b2b4: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
e69b2b4
to
5dc4ab2
Compare
❌ Gradle check result for 5dc4ab2: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
5dc4ab2
to
b64d2d9
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13272 +/- ##
============================================
+ Coverage 71.42% 71.55% +0.13%
- Complexity 59978 61172 +1194
============================================
Files 4985 5060 +75
Lines 282275 287403 +5128
Branches 40946 41628 +682
============================================
+ Hits 201603 205650 +4047
- Misses 63999 64830 +831
- Partials 16673 16923 +250 ☔ View full report in Codecov by Sentry. |
❌ Gradle check result for 7437c73: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
7437c73
to
06a730d
Compare
❌ Gradle check result for 06a730d: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
06a730d
to
828f8e3
Compare
❌ Gradle check result for 828f8e3: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
… into storage-issue-13094
❌ Gradle check result for a993ee5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
a993ee5
to
b5cdfdd
Compare
❌ Gradle check result for b5cdfdd: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
b5cdfdd
to
530277c
Compare
❌ Gradle check result for 530277c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
❌ Gradle check result for 2d6a296: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandeep Kumawat <[email protected]>
* | ||
* @opensearch.internal | ||
*/ | ||
public class TranslogCkpAsMetadataFileTransferManager extends TranslogTransferManager { |
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.
Please fix the naming of these files, it looks to specific to the PR and not generic
if (isUploaded(tlogFileName) == false) { | ||
recordFileContentLength(tlogFileName, file::getTranslogFileContentLength); | ||
} | ||
if (isUploaded(ckpFileName) == false) { | ||
recordFileContentLength(ckpFileName, file::getCheckpointFileContentLength); | ||
} |
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.
why not checksum?
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.
Looks like there are way too many abstractions with too specific implementations. We just need a metadata provider abstraction instead and simplify this PR
Signed-off-by: Ashish Singh <[email protected]>
46bffbe
to
fd5450f
Compare
❌ Gradle check result for 46bffbe: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for fd5450f: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
This is moved to: #13637 |
Description
This PR is a sub task of feature request #13022. And is being tracked here #13091.
This PR include below changes -
Related Issues
Resolves #13094
Check List
Commit changes are listed out in CHANGELOG.md file (See: Changelog)Public documentation issue/PR createdBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.