Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-59

Race condition in netty code allocates and orphans resources (BK-5 revisited)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • None
    • None

    Description

      We thought BK-5 fixed this, but it still hits if you run for long enough.

      To repro,

      true; while [ $? = 0 ]; do mvn test -Dtest=BookieReadWriteTest; done

      Leave this running for 5-6 hours, and the bug should hit. From looking at the code it could be that connect is unsynchronized, so resources could be allocated and lost by concurrent executions of connect().

      Attachments

        1. BOOKKEEPER-59.diff
          2 kB
          Ivan Kelly
        2. BOOKKEEPER-59.diff
          5 kB
          Ivan Kelly
        3. BOOKKEEPER-59.diff
          6 kB
          Ivan Kelly

        Activity

          People

            ikelly Ivan Kelly
            ikelly Ivan Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: