Skip to content

Conversation

@mdumandag
Copy link
Contributor

When a client waiting on lock to get it, if the member that it is waiting on shuts down/terminated , client retries it on new owner of the lock.

If a client waits for longer than client.invocation.timeout.seconds, when exception came from server, it is wrapped inside OperationTimeoutException and thrown to user.

This pr changes this behaviour so that waiting lock operations (map.lock/try_lock lock.lock/try_lock) will not throw exception but retry the operation.

fixes #107

@mdumandag mdumandag added this to the 3.10 milestone Aug 31, 2018
@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 2eaaf68 to e4e9b52 Compare August 31, 2018 15:25
@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from e4e9b52 to 82b4d39 Compare September 3, 2018 07:11
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests FAILed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 82b4d39 to 7249aac Compare September 3, 2018 08:18
@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 7249aac to 12fd1f5 Compare September 3, 2018 12:03
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests FAILed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 12fd1f5 to 897b162 Compare September 3, 2018 12:26
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests FAILed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 897b162 to 139c2c3 Compare September 3, 2018 12:42
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests FAILed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 139c2c3 to 8086ef7 Compare September 20, 2018 11:00
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests PASSed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 8086ef7 to dac8559 Compare September 24, 2018 12:04
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests PASSed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from dac8559 to 51846b9 Compare September 25, 2018 12:04
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests FAILed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 51846b9 to 6d90c08 Compare September 27, 2018 12:01
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests PASSed.

@mdumandag mdumandag force-pushed the fix-lock-timeout-behaviour branch from 6d90c08 to 63cc475 Compare October 11, 2018 09:16
@devOpsHazelcast
Copy link
Contributor

Python 3.7 Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Python 2.7 Tests PASSed.

@mdumandag mdumandag merged commit a62be9f into hazelcast:master Oct 11, 2018
@mdumandag mdumandag deleted the fix-lock-timeout-behaviour branch October 11, 2018 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lock operations get timeout exception when member dies

4 participants