You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/10/14 17:12:00 UTC
[jira] [Commented] (GEODE-9195) Remove redundant local locking from
PartitionedRegionClear
[ https://issues.apache.org/jira/browse/GEODE-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428922#comment-17428922 ]
ASF subversion and git services commented on GEODE-9195:
--------------------------------------------------------
Commit 0f5b877dffc895582ee7e40d9727ad1b67dafba6 in geode-benchmarks's branch refs/heads/develop from Dan Smith
[ https://gitbox.apache.org/repos/asf?p=geode-benchmarks.git;h=0f5b877 ]
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.3.4#803005)