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

Investigate behavior of poll on zSeries

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: network

      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.

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

              Created:
              Updated:
              Resolved: