qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-5865) The client and broker heartbeat code can get confused when the system time changes
Date Tue, 01 Jul 2014 16:56:25 GMT

     [ https://issues.apache.org/jira/browse/QPID-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher updated QPID-5865:
----------------------------------

    Summary: The client and broker heartbeat code can get confused when the system time changes
 (was: The client and broker heartbeat code can get confiused when the system time changes)

> The client and broker heartbeat code can get confused 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message