Commit Graph

30 Commits (bb64e7b6e59d1436e0c7b1b094cad8803641fd0d)

Author SHA1 Message Date
Xiang Li 5abbaf59e3 Merge pull request #292 from xiangli-cmu/fix-ttl
WIP: fix ttl
2013-11-11 21:30:32 -08:00
Xiang Li 06f1b7f2e8 refactor change Index to modifiedIndex 2013-11-09 20:49:19 -08:00
Brandon Philips 6a074d4f6f chore(*.go): add copyright notice 2013-11-08 14:04:15 -08:00
Xiang Li c307b6abca fix watcher_hub 2013-11-06 21:19:37 -08: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
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 35724319c9 add watcher for expiration, add expiration for TestAndSet, add related test case 2013-09-30 01:06:18 -04:00
Xiang Li 33e010ebd8 add watchHistory clone 2013-09-28 17:41:02 -07:00
Xiang Li 784d286f37 merge from master 2013-09-28 16:58:57 -07:00
Xiang Li da83ee223b clean up from yifan 2013-09-28 16:26:19 -07:00
Xiang Li 1caf2a3364 remove old store 2013-09-15 22:28:42 -04:00
Fabrizio (Misto) Milo 384d79d671 remove duplicate logic 2013-08-08 16:47:12 -07:00
Fabrizio (Misto) Milo f4fc4caf6f remove pointer to map 2013-08-08 16:47:00 -07:00
Xiang Li 8a4b2e83a5 change create->new, follow go spec 2013-08-04 17:17:40 -07:00
Xiang Li ce33c4d29f gofmt 2013-08-03 23:30:15 -07:00
Xiang Li 66f4e0aa19 clear watchers before recover from a snapshot 2013-08-03 23:29:05 -07:00
Cong Ding 9da955ca75 clean format with gofmt -w 2013-07-16 19:44:09 +02:00
Cong Ding 823691feaa remove trailing space 2013-07-16 19:40:41 +02:00
Xiang Li 1e9307e88a clean up tree.go and watcher.go 2013-07-09 13:14:12 -07:00
Xiang Li a2b44bf9b7 use map to store the results. 2013-06-30 10:09:05 -07:00
Xiang Li b9a30986bb fix checking wrong index in watcher.go 2013-06-29 22:20:18 -07:00
Xiang Li 047f8ab6a8 watch sinceindex works 2013-06-29 15:29:10 -07:00
Xiang Li c2f436a58b fix redirect after seprate client and server pot 2013-06-28 15:37:29 -07:00
Xiang Li c3bfe19ae9 fix a bug in set(update node need to create a new one, not get the pointer of the node) 2013-06-20 21:34:27 -07:00
Xiang Li ef59a03fbb gofmt 2013-06-20 15:59:23 -07:00
Xiang Li 58e7b456bb redirect the join command and do not redirect other commands (let client does that) 2013-06-20 15:26:31 -07:00
Xiang Li cc2608e9f8 add new files 2013-06-18 11:14:22 -07:00