From dev-return-59524-archive-asf-public=cust-asf.ponee.io@thrift.apache.org Wed Nov 18 07:13:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 6A36918063D for ; Wed, 18 Nov 2020 08:13:03 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 936AB48D1D for ; Wed, 18 Nov 2020 07:13:02 +0000 (UTC) Received: (qmail 60062 invoked by uid 500); 18 Nov 2020 07:13:02 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 60026 invoked by uid 99); 18 Nov 2020 07:13:01 -0000 Received: from ec2-52-204-25-47.compute-1.amazonaws.com (HELO mailrelay1-ec2-va.apache.org) (52.204.25.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2020 07:13:01 +0000 Received: from jira2-he-de.apache.org (jira2-he-de.apache.org [168.119.33.54]) by mailrelay1-ec2-va.apache.org (ASF Mail Server at mailrelay1-ec2-va.apache.org) with ESMTPS id B42CC417DB for ; Wed, 18 Nov 2020 07:13:01 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 44C4DC806FA for ; Wed, 18 Nov 2020 07:13:00 +0000 (UTC) Date: Wed, 18 Nov 2020 07:13:00 +0000 (UTC) From: "darry nie (Jira)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (THRIFT-5315) TimerManager can't work, if we adjust time to old time. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/THRIFT-5315?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] darry nie updated THRIFT-5315: ------------------------------ Description:=20 Description: 1.if current time is 9:00, now I adjust time to 3:00. timer can't work. 2.if current time is 9:00, now I adjust time to 12:00. timer can work. and i read the source code,found timer=C2=A0is relying on the system time. !image-2020-11-18-14-50-09-613.png! =C2=A0 !image-2020-11-18-14-50-45-116.png! Question: gettimeofday get the system time. How can I choose the clock source, thrift time is relying to the=C2=A0 star= tup time not system time. =C2=A0 =C2=A0 was: Description: 1.if current time is 9:00, now I adjust time to 3:00. timer can't work. 2.if current time is 9:00, now I adjust time to 12:00. timer can work. and i read the source code,found timer=C2=A0isrelying on the system time. !image-2020-11-18-14-50-09-613.png! =C2=A0 !image-2020-11-18-14-50-45-116.png! Question: gettimeofday is get the system time. How can I choose the clock source, thrift time is relying to the=C2=A0 star= tup time not system time. =C2=A0 =C2=A0 > TimerManager can't work, if we adjust time to old time. > ------------------------------------------------------- > > Key: THRIFT-5315 > URL: https://issues.apache.org/jira/browse/THRIFT-5315 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Affects Versions: 0.12.0 > Reporter: darry nie > Priority: Major > Attachments: image-2020-11-18-14-50-09-613.png, image-2020-11-18-= 14-50-45-116.png > > > Description: > 1.if current time is 9:00, now I adjust time to 3:00. timer can't work. > 2.if current time is 9:00, now I adjust time to 12:00. timer can work. > and i read the source code,found timer=C2=A0is relying on the system time= . > !image-2020-11-18-14-50-09-613.png! > =C2=A0 > !image-2020-11-18-14-50-45-116.png! > Question: > gettimeofday get the system time. > How can I choose the clock source, thrift time is relying to the=C2=A0 st= artup time not system time. > =C2=A0 > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)