709 Commits

Author SHA1 Message Date
Ben Johnson
d44fd6661a Fix registry cache issues. 2013-10-13 21:09:56 -06:00
Ben Johnson
013d07bc2a Fix server dispatch redirection. 2013-10-13 16:58:36 -06:00
Ben Johnson
77572b01f8 Merge pull request #2 from xiangli-cmu/refactoring
fix registry.go: use the correct node name; self is already in the list
2013-10-13 15:27:40 -07:00
Xiang Li
e954d3d41f fix registry.go: use the correct node name; self is already in the list 2013-10-13 15:25:07 -07:00
Ben Johnson
55c1f45805 Merge branch 'refactoring' of https://github.com/benbjohnson/etcd into refactoring
Conflicts:
	server/registry.go
2013-10-13 15:04:21 -06:00
Ben Johnson
ec24e76959 Fix duplicates in registry. 2013-10-13 14:56:17 -06:00
Ben Johnson
2b9c4bc90d Merge pull request #1 from xiangli-cmu/refactoring
fix server/server.go accept name when creating a when server; gofmt
2013-10-13 13:53:34 -07:00
Xiang Li
0c5808eeec fix server/server.go accept name when creating a when server; gofmt 2013-10-13 10:44:40 -07:00
Ben Johnson
d3b064c2e9 Refactor v2 routes. 2013-10-13 00:29:58 -06:00
Ben Johnson
7416d2fdcc Mostly working. 2013-10-12 23:39:34 -06:00
Ben Johnson
52b67ca307 Add gorilla/mux to third_party. 2013-10-12 20:35:10 -06:00
Ben Johnson
34b99ee343 bump(github.com/gorilla/mux): b08c5fcf14d01cb0c20ddf70157f54d4a2c3a38a 2013-10-12 20:34:31 -06:00
Ben Johnson
8670e1b7aa Refactored. 2013-10-12 15:56:43 -06:00
Ben Johnson
bb9401544a Intermediate commit. 2013-10-12 13:35:23 -06:00
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
Ben Johnson
594c2cab47 Refactor v2 API into server/v2. 2013-10-11 00:07:22 -06:00
Ben Johnson
a113a51d73 Refactor v1 API into server/v1. 2013-10-10 22:42:45 -06:00
Ben Johnson
a8b677f6e7 Merge pull request #214 from xiangli-cmu/newStore
WIP refactor remove raft singleton
2013-10-10 19:49:52 -07:00
Xiang Li
40c520ca1b refactor remove raft singleton 2013-10-10 15:40:05 -07:00
Ben Johnson
a3b07f71d2 Merge pull request #212 from xiangli-cmu/newStore
refactor command.go: commands do not rely on the etcdStore singleton.
2013-10-10 10:15:12 -07:00
Xiang Li
255e14a5c4 refactor command.go,server.go: add raftWrapper as context, totally get rid of reference in command.go 2013-10-09 20:51:21 -07:00
Xiang Li
61899d62c5 refactor command.go: commands do not rely on the etcdStore singleton. So we can seprate command into a package in the furture. 2013-10-09 20:34:00 -07:00
Brandon Philips
b8e5794765 Merge remote-tracking branch 'xiangli-cmu/newStore' into 0.2 2013-10-09 12:28:55 -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
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
Brandon Philips
0facc24016 Merge remote-tracking branch 'xiangli-cmu/newStore' into 0.2 2013-10-06 11:39:49 -07:00
Xiang Li
baaaf24f70 (feat) v1 apt backward support 2013-10-06 11:23:52 -07:00
Xiang Li
5cc585af96 Merge pull request #201 from rca/master
Update README.md
2013-10-03 11:31:27 -07:00
Roberto Aguilar
d64cf5f64c Update README.md
Minor typo fix (dead -> died).
2013-10-03 12:45:26 -04: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
c988b1e5b0 Merge pull request #199 from zined/update_documentation
adopt documentation to implementation
2013-10-02 07:28:38 -07:00
Deniz Adrian
5a7ba24790 adopt documentation to implementation
as requesting the root path of etcd leads to a 404, whereas a request
to /version leads to the etcd version, update the documentation.
2013-10-02 15:04:26 +02:00
Xiang Li
9412c86b97 fix wrong logic in event.go 2013-09-30 23:51:47 -07:00
Xiang Li
558d30f33f simplify lock 2013-09-30 23:18:52 -07:00
Xiang Li
d2407dff9f Merge pull request #15 from evan-gu/newStore
add watcher for expiration, add expiration for TestAndSet
2013-09-30 23:00:22 -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
6fdffbcc85 delete some debug comments in stats_test.go 2013-09-30 22:17:17 -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
Brandon Philips
9a5775cff0 fix(CONTRIBUTING): try and fix # links in markdown 2013-09-30 12:24:50 -07:00
Brandon Philips
482afb44f3 Update CONTRIBUTING.md 2013-09-30 12:23:52 -07:00