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 GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/11 12:27:00 UTC

[jira] [Updated] (GEODE-10161) Clean up synchronization in RedisList

     [ https://issues.apache.org/jira/browse/GEODE-10161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated GEODE-10161:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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.1#820001)