16 Commits

Author SHA1 Message Date
Ben Johnson
1321c63f3b Extract Store into an interface. 2013-10-14 11:12:30 -06:00
Xiang Li
75959f9948 refactor add node.ExpirationAndTTL 2013-10-08 21:49:10 -07:00
Xiang Li
c3e2332479 refactor separate kvpair to kvpair.go; simplify sorting interface 2013-10-08 21:25:56 -07:00
Xiang Li
3c7f9215d1 comments node.go 2013-10-07 23:30:51 -07:00
Xiang Li
48e6137f46 fix node.go race between expire and update 2013-10-07 23:21:39 -07:00
Xiang Li
a07802a347 refactor node.go; use once 2013-10-07 23:12:13 -07:00
Xiang Li
a71838a59b refactor watcher.go 2013-10-07 22:17:58 -07:00
Xiang Li
baaaf24f70 (feat) v1 apt backward support 2013-10-06 11:23:52 -07:00
Xiang Li
558d30f33f simplify lock 2013-09-30 23:18:52 -07:00
evan-gu
974d74befb add some comment and change a declaration form 2013-10-01 01:25:45 -04:00
evan-gu
6f591032ef rename to DupCnt, duped; add some comments, maintained some format, add notification for immediate expiration 2013-10-01 00:35:44 -04:00
evan-gu
b8ac1d082b fix race between Expire() and others, fix UpdateTTL(), modified watcher to catch Expire() 2013-09-30 22:10:40 -04:00
evan-gu
0959448855 add LastIndex and LastTerm in EventHistory 2013-09-30 12:18:28 -04:00
evan-gu
3ae316ac38 add ExpireCount and some test case 2013-09-30 02:39:40 -04:00
evan-gu
35724319c9 add watcher for expiration, add expiration for TestAndSet, add related test case 2013-09-30 01:06:18 -04:00
Xiang Li
da83ee223b clean up from yifan 2013-09-28 16:26:19 -07:00