[
https://issues.apache.org/jira/browse/GEODE-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sarah Abbey resolved GEODE-8339.
--------------------------------
Fix Version/s: 1.14.0
Resolution: Fixed
> Redis rename hangs when servers are killed and revived
> ------------------------------------------------------
>
> Key: GEODE-8339
> URL: https://issues.apache.org/jira/browse/GEODE-8339
> Project: Geode
> Issue Type: Bug
> Components: redis
> Reporter: Sarah Abbey
> Assignee: Sarah Abbey
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.14.0
>
>
> See ignored test associated with this ticket.
> {noformat}
> [vm2] [warn 2020/07/07 17:12:48.216 EDT <ResourceManagerRecoveryThread 1>
> tid=0x46] 15 seconds have elapsed while waiting for replies:
> <DeposePrimaryBucketMessage$DeposePrimaryBucketResponse 1171 waiting for 1
> replies from [192.168.0.104(server-1:27717)<v1>:41001]> on
> 192.168.0.104(server-2:27730)<v9>:41002 whose current membership list is:
> [[192.168.0.104(locator-0:27716:locator)<ec><v0>:41000,
> 192.168.0.104(server-1:27717)<v1>:41001,
> 192.168.0.104(server-2:27730)<v9>:41002,
> 192.168.0.104(server-3:27731)<v11>:41003]]
> [vm2] [warn 2020/07/07 17:12:48.216 EDT <Function Execution Processor3>
> tid=0x5c] 15 seconds have elapsed while waiting for replies:
> <PRFunctionStreamingResultCollector 1170 waiting for 1 replies from
> [192.168.0.104(server-1:27717)<v1>:41001]> on
> 192.168.0.104(server-2:27730)<v9>:41002 whose current membership list is:
> [[192.168.0.104(locator-0:27716:locator)<ec><v0>:41000,
> 192.168.0.104(server-1:27717)<v1>:41001,
> 192.168.0.104(server-2:27730)<v9>:41002,
> 192.168.0.104(server-3:27731)<v11>:41003]]
> {noformat}
> The Redis RENAME command could hang during a rebalance, if the old key was
> stored in a bucket on one server, and the new key was in a different bucket
> on a separate server. Rename would read-lock the buckets, but rebalance would
> wait for a write lock, and the Rename region put/destroy would then wait on
> the write lock.
> Now Rename passes a callback argument that indicates it has already locked
> the primary, and will not attempt to lock the primary again when doing the
> put/destroy.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)