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

HDDS-7107. Determine OzoneManagerStateMachine multipleExecutors index via hashing #3664

Closed
wants to merge 3 commits into from

Conversation

tanvipenumudy
Copy link
Contributor

@tanvipenumudy tanvipenumudy commented Aug 8, 2022

What changes were proposed in this pull request?

[To be merged after HDDS-7105 PR #3662] Introduce an interface OMHashCodeGenerator which translates each of the OBJECT_STORE "OBS" bucket layout key path names into a hash code based on the corresponding hash function used.

The write operations on different key paths now have their corresponding hash codes and are allotted a thread writer (executor) index for execution determined via the modulo (hashCode % om.num.concurrent.write.threads) - this enables concurrency for write operations.

Please refer link.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-7107

How was this patch tested?

Added integration tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant