Skip to content

Conversation

@szetszwo
Copy link
Contributor

What changes were proposed in this pull request?

@SuppressWarnings("checkstyle:parameternumber")
private OzoneManagerDoubleBuffer(OMMetadataManager omMetadataManager,
Consumer<TermIndex> updateLastAppliedIndex,
boolean isRatisEnabled, boolean isTracingEnabled,
int maxUnFlushedTransactions,
FlushNotifier flushNotifier, S3SecretManager s3SecretManager,
String threadPrefix) {

The OzoneManagerDoubleBuffer constructor above has many parameter. We may reduce it by passing the Builder.

We will also clean up the code, add javadoc and fix typos.

What is the link to the Apache JIRA

HDDS-10171

How was this patch tested?

By updating existing tests.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @szetszwo for the patch.

@adoroszlai adoroszlai merged commit 32e82df into apache:master Jan 20, 2024
@szetszwo
Copy link
Contributor Author

@adoroszlai , thanks a lot for reviewing and merging this!

Tejaskriya pushed a commit to Tejaskriya/ozone that referenced this pull request Jan 24, 2024
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.

2 participants