[ https://issues.apache.org/jira/browse/GEODE-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557636#comment-17557636 ]
ASF subversion and git services commented on GEODE-9195: -------------------------------------------------------- Commit 0f5b877dffc895582ee7e40d9727ad1b67dafba6 in geode-benchmarks's branch refs/heads/master from Dan Smith [ https://gitbox.apache.org/repos/asf?p=geode-benchmarks.git;h=0f5b877d ] GEODE-9175: Reducing the noise from the logging benchmark framework (#157) Changing a bunch of debug output to info level to reduce the amount of noise the benchmark framework is printing out. This is not the full scope of GEODE-9195, which also is asking to print out progress as the test runs. > Remove redundant local locking from PartitionedRegionClear > ---------------------------------------------------------- > > Key: GEODE-9195 > URL: https://issues.apache.org/jira/browse/GEODE-9195 > Project: Geode > Issue Type: Improvement > Components: regions > Reporter: Kirk Lund > Assignee: Kirk Lund > Priority: Major > Labels: GeodeOperationAPI, pull-request-available > > Existing behavior: > PR clear unconditionally acquires a global lock and also acquires local locks > on all buckets before doing clear. > Expected behavior: > Now that PR clear acquires a global lock, it no longer needs to acquire local > locks on all buckets before doing clear. > Solution: > Remove the logic taking lock in individual nodes in: > {noformat} > DistributedRegion.obtainWriteLocksForClear() > {noformat} > Remove: > {noformat} > if (!localLockedAlready) { > lockLocallyForClear(getDistributionManager(), getMyId(), regionEvent); > } > {noformat} -- This message was sent by Atlassian Jira (v8.20.7#820007)