You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (Jira)" <ji...@apache.org> on 2022/03/24 13:44:00 UTC

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

Jens Deppe created GEODE-10161:
----------------------------------

             Summary: 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


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)