171 Commits

Author SHA1 Message Date
Xiang Li
08c59895b5 refactor(Node) do not expose node struct 2013-11-28 11:33:23 -05:00
Xiang Li
8a0496cfae bump deps 2013-11-22 08:59:24 -08:00
Ben Johnson
ccc27a61f5 Merge branch '0.2' of https://github.com/coreos/etcd into migration-test 2013-11-12 17:29:58 -05:00
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
811c577fe8 test stop mockSync goroutines 2013-11-11 21:31:12 -08:00
Xiang Li
fe5fb6cfba style naming the initialization fields for sync command 2013-11-11 21:21:50 -08:00
Xiang Li
8b2e1025ef style remove the extra space 2013-11-11 21:19:30 -08:00
Ben Johnson
d8157472fe Merge branch '0.2' of https://github.com/coreos/etcd into migration-test 2013-11-11 18:12:24 -05:00
Xiang Li
cb4b6f1fe4 feat add modifiedIndex in kvpair 2013-11-09 20:52:06 -08:00
Xiang Li
06f1b7f2e8 refactor change Index to modifiedIndex 2013-11-09 20:49:19 -08:00
Xiang Li
d8e5994c35 feat attach etcd-index,raft-index,raft-term to header 2013-11-09 20:20:47 -08:00
Xiang Li
d87e0e93d3 fix get return the last modified index of the node 2013-11-09 19:05:38 -08:00
Xiang Li
eca433cee5 fix add sync_command.go 2013-11-09 18:59:43 -08:00
Xiang Li
6156d5c790 refactor separate etcd index from raft index 2013-11-09 17:55:54 -08:00
Xiang Li
0372cdea23 refactor move sync command into etcd 2013-11-08 16:00:58 -08:00
Brandon Philips
6a074d4f6f chore(*.go): add copyright notice 2013-11-08 14:04:15 -08:00
Xiang Li
acd940a450 refactor comments on IsPermanent 2013-11-08 13:37:30 -08:00
Xiang Li
4c1d864095 fix cleanup 2013-11-06 21:27:39 -08:00
Xiang Li
c307b6abca fix watcher_hub 2013-11-06 21:19:37 -08:00
Xiang Li
55058c64f5 feat wathch for expiring need to be pending 2013-11-05 23:30:48 -08:00
Xiang Li
779195eb4f fix bug in update ttl 2013-11-05 22:18:54 -08:00
Xiang Li
49c55477e5 refactor clean up 2013-11-05 21:56:21 -08:00
Xiang Li
797d996535 init sync to delete expiring keys 2013-11-05 21:47:25 -08:00
Ben Johnson
8c6606ed12 Fix TTL migration issue. 2013-11-05 15:57:53 -07:00
Xiang Li
1d49098954 feat add heap top 2013-11-04 22:13:26 -08:00
Xiang Li
07b52ee24c fix save and recovery 2013-11-04 21:51:14 -08:00
Xiang Li
0d8510df33 refactor use push 2013-11-04 21:36:05 -08:00
Xiang Li
efe431ead0 refactor add push/pop function 2013-11-04 21:33:23 -08:00
Xiang Li
c5a6f9bb6b fix iszero 2013-11-04 21:22:22 -08:00
Xiang Li
3f6d6cf4c6 refactor use time.IsZero 2013-11-04 20:56:41 -08:00
Xiang Li
c05df9e3f5 refactor add newTTLKeyHeap function 2013-11-04 20:31:24 -08:00
Xiang Li
b9593b80ec feat add update heap test 2013-11-03 23:51:48 -08:00
Xiang Li
5394c8a894 feat add ttl heap 2013-11-03 23:34:47 -08:00
Xiang Li
9d0de611a7 feat add snapCount parameter 2013-10-30 17:36:15 -07:00
Xiang Li
0e15962cef Merge pull request #276 from xiangli-cmu/feat-kvpair-ttl
feat kvpair include ttl
2013-10-30 15:56:28 -07:00
Xiang Li
107762e82a fix snapshot 2013-10-30 15:14:34 -07:00
Ben Johnson
ddf527e092 Add version upgrade endpoint. 2013-10-29 15:49:10 -06:00
Xiang Li
ec175d4c47 test add test for ttl in kv pair 2013-10-28 09:42:54 -07:00
Ben Johnson
23dc0b9317 Merge branch '0.2' of https://github.com/coreos/etcd into versioning
Conflicts:
	server/v2/put_handler.go
2013-10-28 06:39:56 -06:00
Ben Johnson
aa9ae32998 Internal versioning. 2013-10-27 14:09:40 -06:00
Xiang Li
7b60f8bdc3 feat kvpair include ttl 2013-10-26 21:21:48 -07:00
Xiang Li
1fb3799118 fix put ttl 2013-10-26 21:04:44 -07:00
Xiang Li
6803d077b9 fix store pacakge pass go vet 2013-10-21 12:37:22 -07:00
Ben Johnson
23119d1672 Refactor store tests. 2013-10-20 16:09:45 -06:00
Xiang Li
61f238f22e Merge pull request #255 from xiangli-cmu/0.2-fix-devlist-issue
0.2 fix devlist issue
2013-10-20 10:29:29 -07:00
Xiang Li
b852a746ce refactor move http status logic to server.go 2013-10-20 10:21:54 -07:00
Xiang Li
acbc0c8846 refactor return http status 201 Created when creating a new node 2013-10-19 19:57:36 -07:00
Xiang Li
7b6e305d40 fix update also return newValue 2013-10-19 11:51:41 -07:00
Xiang Li
28722e2127 fix v1 handler: use create command when test against prevexistence 2013-10-16 23:57:42 -07:00
Xiang Li
0392c18794 refactor put_handler.go 2013-10-15 23:18:03 -07:00