82 Commits

Author SHA1 Message Date
Xiang Li
6156d5c790 refactor separate etcd index from raft index 2013-11-09 17:55:54 -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
797d996535 init sync to delete expiring keys 2013-11-05 21:47:25 -08:00
Xiang Li
ec175d4c47 test add test for ttl in kv pair 2013-10-28 09:42:54 -07:00
Ben Johnson
23119d1672 Refactor store tests. 2013-10-20 16:09:45 -06:00
Xiang Li
0392c18794 refactor put_handler.go 2013-10-15 23:18:03 -07:00
Xiang Li
c5f9afa0e8 fix store test 2013-10-14 23:15:31 -07:00
Xiang Li
9ebdcb8ae3 refactor change testAndSet to CompareAndSwap 2013-10-14 22:32:22 -07:00
Xiang Li
545f8ed6a1 fix update PUT handler 2013-10-14 22:22:23 -07:00
Ben Johnson
1321c63f3b Extract Store into an interface. 2013-10-14 11:12:30 -06:00
Xiang Li
b0793e2dd9 refactor create do not need to check existence first 2013-10-12 21:48:29 -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
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
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
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
6108f8536f add testandset test 2013-08-23 01:37:20 -04:00
Xiang Li
65c34457de fix test file 2013-08-05 21:28:42 -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
756b2cc750 add keyword checker 2013-07-31 09:52:03 -07:00
Xiang Li
5f51c728c6 fix the recoveryTest 2013-07-16 18:12:19 -07:00
Cong Ding
f6b46fb0f2 make store test work 2013-07-17 01:45:45 +02:00
Xiang Li
c5901f4b88 tree store init commit 2013-07-02 18:09:54 -07:00
Xiang Li
ef59a03fbb gofmt 2013-06-20 15:59:23 -07:00
Xiang Li
cc2608e9f8 add new files 2013-06-18 11:14:22 -07:00