Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2542

Investigate behavior of poll on zSeries

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • network

    Description

      Tests for CDRIVER-1972 encountered some unexpected behavior of poll in zSeries.

      The test introduced a mock poll function. This called the library function poll and sometimes would change the response. The tests would simulate a delayed connection by changing the response of poll to indicate no results. A consequence of this is that poll could be called many more times than it would be in a normal case.

      Surprisingly, it seems like because of this mock poll, zSeries would occasionally have large delays (5 or 10 seconds). As a workaround, the timeout passed to poll was reduced to 5ms. We should investigate why this happened, and if there is a better solution.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: