-
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
Make remote translog store path consistent to remote segment store #7947
Make remote translog store path consistent to remote segment store #7947
Conversation
Gradle Check (Jenkins) Run Completed with:
|
f64d50d
to
670b02f
Compare
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: bansvaru <[email protected]>
670b02f
to
9773158
Compare
Signed-off-by: bansvaru <[email protected]>
f8dbe09
to
0b4640b
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: bansvaru <[email protected]>
server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManager.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManager.java
Outdated
Show resolved
Hide resolved
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.
Thanks for adding this!
To confirm, would the new translog paths be:
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/translog/<shardid>/data/<primaryterm>/(*.tlog|*.ckp)
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/translog/<shardid>/metadata
OR
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/translog/data/<primaryterm>/(*.tlog|*.ckp)
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/translog/metadata
i.e. what is the sequence of <shardid>
and translog
?
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: bansvaru <[email protected]>
Thanks for catching this! I updated the description, i mistakenly put shardid after translog keyword |
Signed-off-by: bansvaru <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #7947 +/- ##
============================================
- Coverage 70.88% 70.80% -0.08%
- Complexity 56352 56390 +38
============================================
Files 4700 4700
Lines 266549 266549
Branches 39099 39099
============================================
- Hits 188937 188742 -195
- Misses 61632 61849 +217
+ Partials 15980 15958 -22
|
Gradle Check (Jenkins) Run Completed with:
|
…7947) Signed-off-by: bansvaru <[email protected]> (cherry picked from commit e6348c5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#7947) Signed-off-by: bansvaru <[email protected]>
…pensearch-project#7947) Signed-off-by: bansvaru <[email protected]>
…7947) (#7964) (cherry picked from commit e6348c5) Signed-off-by: bansvaru <[email protected]>
…pensearch-project#7947) (opensearch-project#7964) (cherry picked from commit e6348c5) Signed-off-by: bansvaru <[email protected]>
…pensearch-project#7947) Signed-off-by: bansvaru <[email protected]> Signed-off-by: Rishab Nahata <[email protected]>
…pensearch-project#7947) Signed-off-by: bansvaru <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
This PR updates remote translog store path to be consistent with segment.
Remote Segment Store Path
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/segments/data/
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/segments/metadata/
Previous Translog paths
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/<primaryterm>/(*.tlog|*.ckp)
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/metadata
New Translog paths
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/translog/data/<primaryterm>/(*.tlog|*.ckp)
s3://remote-store-perf-test/cluster-1/zqQpla0QS_mFK3Q42FbQ0A/<shardid>/translog/metadata
Related Issues
Addresses #1 in #3589 (comment)
Check List
By 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.