Andrew Stitcher created QPID-5865: ------------------------------------- Summary: The client and broker heartbeat code can get confiused when the system time changes Key: QPID-5865 URL: https://issues.apache.org/jira/browse/QPID-5865 Project: Qpid Issue Type: Bug Components: C++ Broker, C++ Client Reporter: Andrew Stitcher Assignee: Andrew Stitcher
The underlying timekeeping code in C++ qpid currently uses CLOCK_REALTIME which is related to wallclock time and can go backwards and skip time forwards (either due to NTP or administrator action). This is not ideal because it can cause false timeouts to occur based on the system time rather than elapsed time. It would be better for most timing to be based on CLOCK_MONOTONIC which is steadily increasing time based on the system uptime. That will avoid problems due to the system time changing. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org