Menu

#119 tlc_getInterval() repeatedly returns 0 after timeout

1.3.2.0
closed
None
2016-06-01
2016-05-18
No

tlc_getInterval() repeatedly returns 0 after timeout, specified with tlc_openSession() parameter pPdDefault -> timeout, has elapsed.

Subsequent select() falls through and generates CPU-load.

Expected Behavior: If timeout needs to be signaled to applciation this should be done once. Do not wait for the expected packet infinitely. Instead acknowledge timed out packet after timeout has signaled once.

For an example see Test "pdPull.c"

Discussion

  • Bernd Löhr

    Bernd Löhr - 2016-06-01
    • status: open --> accepted
    • assigned_to: Bernd Löhr
    • Milestone: 1.4.0.0 --> 1.3.2.0
     
  • Bernd Löhr

    Bernd Löhr - 2016-06-01
    • status: accepted --> closed
     
  • Bernd Löhr

    Bernd Löhr - 2016-06-01

    Timeout handling is improved now, behavior is as expected. Also fixed an issue with an internal subscription (for statistics PD pull), which had default timeout instead of infinity.

     

Log in to post a comment.

MongoDB Logo MongoDB