Java Driver
  1. Java Driver
  2. JAVA-282

on ioexception, call to port.close() after putting back port in the pool, may break other thread that is using port

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major - P3 Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      close should be called prior to adding to pool.

        Activity

        • Comments
        Hide
        auto
        added a comment -

        Author:

        {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

        Message: JAVA-282: on ioexception, call to port.close() after putting back port in the pool, may break other thread that is using port
        https://github.com/mongodb/mongo-java-driver/commit/4a25597fabc448e24d56ee3bcfeccd923db5023e

        Show
        auto
        added a comment - Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'} Message: JAVA-282 : on ioexception, call to port.close() after putting back port in the pool, may break other thread that is using port https://github.com/mongodb/mongo-java-driver/commit/4a25597fabc448e24d56ee3bcfeccd923db5023e

          People

          • Assignee:
            Antoine Girbal
            Reporter:
            Antoine Girbal
            Participants:
            Last commenter:
            Barrie Segal
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since reply:
              3 years, 8 weeks, 1 day ago
              Date of 1st Reply: