-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add deprecated API for creating History Ops Snapshot from translog #2886
Add deprecated API for creating History Ops Snapshot from translog #2886
Conversation
❌ Gradle Check failure 8c783ef3f02ccd77cf2002b447a4bf969c2e982f |
I want to make sure we all agree with the complete proposal, especially that we will be doing #2872 for 2.1+ (moving CCR into core module so we can refactor the deprecated methods into CCR in 2.1), before merging this. |
start gradle check |
❌ Gradle Check failure 8c783ef3f02ccd77cf2002b447a4bf969c2e982f |
Failed test case -
|
Hi @saikaranam-amazon Please ignore this test failure, which has been fixed in 455fad3 . The deprecation message in the test was changed by mistake. |
@tlfeng Got it! thanks! |
Adds a deprecated API to create a history operations snapshot from the translog. This was superseded by always using the lucene index for peer recovery since the index saves on costly storage but this API enables plugins to selectively use the uncompressed xlog file for speed over disk savings. Note: this API will be either completely removed or refactored in the next release. Signed-off-by: Nicholas Walter Knize <[email protected]> Signed-off-by: Sai Kumar <[email protected]>
8c783ef
to
c3b7d04
Compare
other failures
Addressed in the latest revision |
Please add the |
Agreed and updated the issue - #2482 |
Signed-off-by: Nicholas Walter Knize <[email protected]>
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.
approve w/ reservations.
Thanks @nknize ! Could you please merge the PR?
|
I merged and labeled to backport to 2.x as well |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-2886-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 2069aa372dddccadf8d5087fd76687f1a37cf2ec
# Push it to GitHub
git push --set-upstream origin backport/backport-2886-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
…2886) * Add deprecated API for creating History Ops Snapshot from translog Adds a deprecated API to create a history operations snapshot from the translog. This was superseded by always using the lucene index for peer recovery since the index saves on costly storage but this API enables plugins to selectively use the uncompressed xlog file for speed over disk savings. Note: this API will be either completely removed or refactored in the next release. Signed-off-by: Nicholas Walter Knize <[email protected]> Signed-off-by: Sai Kumar <[email protected]> * fix javadoc casing for deprecated Signed-off-by: Nicholas Walter Knize <[email protected]> Co-authored-by: Nicholas Walter Knize <[email protected]> (cherry picked from commit 2069aa3)
…2886) (#2917) * Add deprecated API for creating History Ops Snapshot from translog Adds a deprecated API to create a history operations snapshot from the translog. This was superseded by always using the lucene index for peer recovery since the index saves on costly storage but this API enables plugins to selectively use the uncompressed xlog file for speed over disk savings. Note: this API will be either completely removed or refactored in the next release. Signed-off-by: Nicholas Walter Knize <[email protected]> Signed-off-by: Sai Kumar <[email protected]> Co-authored-by: Nicholas Walter Knize <[email protected]> (cherry picked from commit 2069aa3)
Signed-off-by: Nicholas Walter Knize [email protected]
Signed-off-by: Sai Kumar [email protected]
Description
Adds a deprecated API to create a history operations snapshot from the translog.
Issues Resolved
#2482
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.