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

Changes to encapsulate Translog into TranslogManager #3751

Merged
merged 6 commits into from
Jul 5, 2022

Conversation

Bukhtawar
Copy link
Collaborator

@Bukhtawar Bukhtawar commented Jun 30, 2022

Signed-off-by: Bukhtawar Khan bukhtawa@amazon.com

Description

[Describe what this change achieves]

Issues Resolved

#3709

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
@Bukhtawar Bukhtawar requested review from a team and reta as code owners June 30, 2022 19:01
@Bukhtawar Bukhtawar marked this pull request as draft June 30, 2022 19:01
@Bukhtawar Bukhtawar changed the title Changes to encapsulate Translog into TranslogManager WIP: Changes to encapsulate Translog into TranslogManager Jun 30, 2022
Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2022

Gradle Check (Jenkins) Run Completed with:

@Bukhtawar Bukhtawar changed the title WIP: Changes to encapsulate Translog into TranslogManager Changes to encapsulate Translog into TranslogManager Jul 1, 2022
@Bukhtawar Bukhtawar marked this pull request as ready for review July 1, 2022 12:07
Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
@Bukhtawar
Copy link
Collaborator Author

/cc: @reta request to to please share your review on this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2022

Gradle Check (Jenkins) Run Completed with:

}
} finally {
IOUtils.close(replicaEngine, storeReplica, engine, store, () -> terminate(threadPool));
}
}

protected void assertEngineCleanedUp(Engine engine, Translog translog) throws Exception {
protected InternalTranslogManager assertAndGetInternalTranslogManager(final TranslogManager translogManager) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use JUnit assertions:

protected InternalTranslogManager assertAndGetInternalTranslogManager(final TranslogManager translogManager) {
        assertThat(translogManager, instanceOf(InternalTranslogManager.class));
        return (InternalTranslogManager) translogManager;
    }

Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
@Bukhtawar Bukhtawar requested a review from reta July 5, 2022 14:07
@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2022

Gradle Check (Jenkins) Run Completed with:

sachinpkale pushed a commit to sachinpkale/OpenSearch that referenced this pull request Jan 9, 2023
…ect#3751)

* Changes to encapsulate Translog into TranslogManager

Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
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.

3 participants