ozone icon indicating copy to clipboard operation
ozone copied to clipboard

HDDS-7107. Determine OzoneManagerStateMachine multipleExecutors index via hashing

Open tanvipenumudy opened this issue 3 years ago • 0 comments

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

tanvipenumudy avatar Aug 08 '22 17:08 tanvipenumudy