71 Commits

Author SHA1 Message Date
Ben Johnson
eb78d96a20 Intermediate commit. 2013-10-12 00:28:46 -06:00
Ben Johnson
89334df5ae Refactor commands. 2013-10-11 01:02:38 -06:00
Xiang Li
40c520ca1b refactor remove raft singleton 2013-10-10 15:40:05 -07:00
Xiang Li
4bf57537b5 refactor store.go remove extra assignment 2013-10-08 22:12:00 -07:00
Xiang Li
e597947bd8 refactor store.go update 2013-10-08 22:10:18 -07:00
Xiang Li
a030a41153 refactor store.go remove unwanted print 2013-10-08 22:01:22 -07: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
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
b8b81d5b03 feat(store) create node with incremental suffix. accept #190 in new API 2013-10-03 08:59:05 -07:00
Xiang Li
512dede9ce finish todo 2013-10-02 22:15:12 -07:00
Xiang Li
558d30f33f simplify lock 2013-09-30 23:18: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
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
4b2e53f29e minor clean up 2013-09-28 17:41:45 -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
Xiang Li
197689fcb5 Merge branch 'master' into moreStats 2013-08-23 13:45:51 -04:00
Fabrizio (Misto) Milo
a543d644b4 Split raw get into rawGetNode and rawGetNodeList 2013-08-22 22:02:50 -07:00
Fabrizio (Misto) Milo
6345e02d20 test and set creates the key if key does not exists. fixes #96 2013-08-22 22:02:50 -07:00
Xiang Li
a97590ff50 basic stats 2013-08-19 17:19:45 -07:00
Xiang Li
cf2d6888c2 add error package 2013-08-17 20:41:15 -07:00
Mairbek Khadikov
ac9801f570 Concurrent GET requests should not block. 2013-08-15 23:06:08 +03:00
Xiang Li
928781aaa3 fix #95 2013-08-12 09:24:33 -07:00
Fabrizio (Misto) Milo
f4fc4caf6f remove pointer to map 2013-08-08 16:47:00 -07:00
Fabrizio (Misto) Milo
140bbfec38 nip 2013-08-08 16:46:49 -07:00
Fabrizio (Misto) Milo
ab10f95911 set messager as send only 2013-08-08 16:46:29 -07:00
Xiang Li
d0e9449ba2 use url package to parse url; fix commented codes 2013-08-06 09:08:22 -07:00
Xiang Li
bebcf4b733 simplify tree list 2013-08-05 17:03:31 -07:00
Xiang Li
c6a4321310 gofmt 2013-08-05 16:06:23 -07:00
Xiang Li
63ba16f51a add clone func to help snapshot. add benchmarks 2013-08-05 16:05:49 -07:00
Xiang Li
39fa2eb4ee add benchmarks 2013-08-05 13:21:08 -07:00
Xiang Li
8a4b2e83a5 change create->new, follow go spec 2013-08-04 17:17:40 -07:00
Xiang Li
66f4e0aa19 clear watchers before recover from a snapshot 2013-08-03 23:29:05 -07:00
Xiang Li
53feb9d973 add space in comments 2013-08-03 21:16:09 -07:00
Xiang Li
7ea4ae8693 add RawGet that will return Response struct 2013-08-02 20:17:37 -07:00
Xiang Li
4a5abf1ab8 gofmt 2013-08-02 12:45:17 -07:00
Xiang Li
0ebd133a0d support version and basic stats 2013-08-02 12:31:35 -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
9dc51d0412 fix can change the value of a dir bug 2013-07-12 16:36:21 -07:00
Xiang Li
bff9321aa2 merge get and list operation 2013-07-12 16:04:00 -07:00
Xiang Li
0aa70e125c create error map 2013-07-12 13:35:43 -07:00
Xiang Li
4b9b5d8069 merge get and list 2013-07-12 10:10:56 -07:00
Xiang Li
a131632d3d error handling 2013-07-12 08:41:28 -07:00