You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:04 UTC
[jira] [Closed] (GEODE-10161) Clean up synchronization in RedisList
[ https://issues.apache.org/jira/browse/GEODE-10161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Nichols closed GEODE-10161.
--------------------------------
> Clean up synchronization in RedisList
> -------------------------------------
>
> Key: GEODE-10161
> URL: https://issues.apache.org/jira/browse/GEODE-10161
> Project: Geode
> Issue Type: Improvement
> Components: redis
> Reporter: Jens Deppe
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> Prior to adding versioning, we needed {{synchronized}} on various helper methods that modified the internal list data structure. This was in order to ensure exclusive access in the event of a {{toData()}} call (during GII/bucket movement). {{toData()}} is also synchronized. However, now that we're synchronizing within more of the 'top-level' methods in RedisList, (because we're also changing the {{version}} value), I think that we should be able to remove all of the {{synchronized}} modifiers on the smaller helper methods.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)