Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8883

Semaphore fails on network partitioning 2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • data structures
    • None

    Description

      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 true

      steps: 

      1. c2 acquires the permit.
      2. Network failure happens, isolating c2 from the rest of nodes for a period of time.
      3. Network heals.
      4. c2 releases the permit.
      5. c2 acquires the permit.
      6. c1 tries to acquire lock but fails (exception)

      Attachments

        Activity

          People

            Unassigned Unassigned
            un9xknown Mo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: