bigdata4u / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

Unix Timestamp Expiration setting meet 2038 issue #285

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?

Affected Version: ALL

What steps will reproduce the problem?
1. use net.spy.memcached.MemcachedClient.set(String key, int exp, Object o) 
method to cache data.
2. use the exp argument as unix timestamp, its type is int and max value in 
java is 2147483647, represent the time 2038-01-19 03:14:10.
3. how to pass the right unix timestamp to MemcachedClient.set method with int 
type after the time 2038-01-19 03:14:10 ? 

Please provide any additional information below.
http://livebook.in/2013/05/year-2038-problem-the-unix-millennium-bug/

Original issue reported on code.google.com by qingshen...@gmail.com on 18 Oct 2013 at 5:07

GoogleCodeExporter commented 8 years ago
This is a real issue, but it's also not addressed in memcached yet.  We'll hold 
this issue until then.

Original comment by ingen...@gmail.com on 8 Nov 2013 at 7:24