https://github.com/memcached/memcached/blob/e73bc2e5c0794cccd6f8ece63bc16433c40ed766/memcached.c#L4711
2014-09-16 4:36 GMT-03:00 Yu Liu <[email protected]>: > Which versions ? > > Very important data stored in memcached . cat not be easily restarted, > > Memcached run for six months,and the system clock difference between 300ms > . > > 在 2014年9月16日星期二UTC+8下午3时21分22秒,Dormando写道: >> >> Recent versions use a monotonic clock, so changing the system clock can't >> cause memcached to lose its mind. >> >> Why are you trying to do this on purpose? >> >> On Tue, 16 Sep 2014, Yu Liu wrote: >> >> > Today I found memcached cat not be work。 so , I found memcached stats >> time while being changed before os date change。 >> > EXP-1 : >> > Centos 6.5 64bit >> > Memcache Version: 1.4.7 >> > >> > # date >> > Tue Sep 16 09:56:43 CST 2014 >> > >> > # telnet 10.11.1.15 11211 >> > Trying 10.11.1.15... >> > Connected to 10.11.1.15 (10.11.1.15). >> > Escape character is '^]'. stats >> > STAT pid 2923 >> > STAT uptime 9 >> > STAT time 1410850931 >> > STAT version 1.4.7 >> > >> > change date >> > # date >> > Fri Jul 26 00:00:00 CST 2013 >> > >> > # telnet 10.11.1.15 11211 >> > Trying 10.11.1.15... >> > Connected to 10.11.1.15 (10.11.1.15). >> > Escape character is '^]'. stats >> > stats >> > STAT pid 2923 >> > STAT uptime 4258884380 >> > STAT time 5669735302 >> > STAT version 1.4.7 >> > >> > however upgrade memcache to 1.4.20 >> > Centos 6.5 64bit >> > Memcache Version: 1.4.20 >> > >> > #stats >> > STAT pid 2586 >> > STAT uptime 8 >> > STAT time 1410838280 >> > STAT version 1.4.20 >> > STAT libevent 1.4.13-stable >> > >> > change date >> > stats >> > STAT pid 2586 >> > STAT uptime 55 >> > STAT time 1410838327 >> > STAT version 1.4.20 >> > >> > Now, this time can not be changed. what's the matter ? >> > >> > I did not find the answer in http://code.google.com/p/ >> memcached/wiki/ReleaseNotes 。 >> > >> > -- >> > >> > --- >> > You received this message because you are subscribed to the Google >> Groups "memcached" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> > For more options, visit https://groups.google.com/d/optout. >> > >> > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "memcached" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Roberto Spadim -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
