You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Mo (JIRA)" <ji...@apache.org> on 2018/06/26 21:59:00 UTC

[jira] [Created] (IGNITE-8881) Semaphore hangs on network partitioning

Mo created IGNITE-8881:
--------------------------

             Summary: Semaphore hangs on network partitioning
                 Key: IGNITE-8881
                 URL: https://issues.apache.org/jira/browse/IGNITE-8881
             Project: Ignite
          Issue Type: Bug
          Components: data structures
    Affects Versions: 2.4
            Reporter: Mo


Scenario: Three servers (s1,s2,s3) two clients (c1,c2).

A semaphore with one permit is created. 

Config: 

{{1. Release acquired permits if the node that owned them left topology: set to false}}

2.  TCP discovery mode: on

 1.c2 takes a lock
2. Network partitioning \{(s1,s2,,s3,c1),(c2)}, then heal it
4. c3 tries to release the lock, but hangs

steps: 
 # c2 acquires the permit.
 # Network failure happens, isolating c2 from the rest of nodes for a period of time.
 # Network heals.
 # c2 tries to release the permit but hangs. 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)