Ben Johnson
44af8ea190
bump(github.com/coreos/raft): ca61124b291fe38a2ab592a8b42f1423e3c31cc4
2013-12-27 15:24:37 -07:00
Ben Johnson
2504c4ad34
bump(code.google.com/p/goprotobuf): dd4df9b5c0cf
2013-12-27 15:23:35 -07:00
Thomas L. Kula
d447ba52ad
fix(README): fixup leader docs
...
The leader module uses PUT to set a leader value and DELETE to delete one. Fix
the documents to reflect that.
2013-12-27 15:15:19 -05:00
Xiang Li
5e499456f0
init cancel watcher
2013-12-26 22:06:15 +08:00
Xiang Li
e96234382a
Merge pull request #417 from philips/fixup-readme
...
fix(README): Remove excress backticks
2013-12-25 23:06:25 -08:00
Brandon Philips
78e2a27ee0
fix(README): Remove excress backticks
2013-12-25 19:28:43 -08:00
Xiang Li
715b4d7bfc
Merge pull request #408 from xiangli-cmu/compareAndDelete
...
Compare and delete
2013-12-25 13:16:27 -08:00
Xiang Li
c36f306a1d
test(delete_handler_test.go) fix inconsistent between test case and comments
2013-12-25 19:05:40 +08:00
Xiang Li
bfa7d54b02
refactor(store.go) handle short condition first
2013-12-25 19:01:04 +08:00
Ben Johnson
4ff773aaaf
bump(github.com/coreos/raft): 0c36c972a25343e7e353257284ef6df5c8676a3d
2013-12-23 16:08:10 -07:00
Ben Johnson
0611c81e88
bump(code.google.com/p/go.net): 127da548775d
2013-12-23 16:02:02 -07:00
Ben Johnson
6b4f7cf861
bump(github.com/coreos/go-etcd): d2eb551cc057fdaf9848d6130292187bb1368208
2013-12-23 16:01:54 -07:00
Ben Johnson
51406a3582
bump(github.com/coreos/raft): 0409b22a50cb2576318f294eba5c1092316dbea1
2013-12-23 16:01:53 -07:00
Ben Johnson
9ebac0b9fd
bump(github.com/BurntSushi/toml): da57f3b4c85ec56cf139d7dc05396fa98a040773
2013-12-23 16:01:51 -07:00
Ben Johnson
4acfc26c5e
Add event-based debugging output.
2013-12-23 16:01:05 -07:00
Brandon Philips
5271378fc2
Merge pull request #416 from drnic/patch-1
...
[readme] references to BOSH releases using etcd
2013-12-23 11:14:28 -08:00
Dr Nic Williams
5ab2f5454c
[readme] references to BOSH releases using etcd
2013-12-23 09:49:24 -08:00
Ben Johnson
4748da1e09
Merge pull request #415 from philips/fix-lock-docs
...
fix(README): fixup lock docs
2013-12-23 05:53:23 -08:00
Brandon Philips
c3b4d10b74
fix(README): fixup lock docs
...
I thought that @benbjohnson had changed the lock "value" to "name" but
that doesn't look to be the case. It is OK, just fix the docs.
2013-12-22 22:03:07 -08:00
Xiang Li
f026d1c14e
Merge pull request #414 from philips/getting-started
...
fix(README): we are building containers too
2013-12-22 20:43:19 -08:00
Brandon Philips
e30bf19684
fix(README): we are building containers too
...
We are building a docker container now too so don't get specific about
just the binary.
I thought about adding instructions to the README but lets just keep
following the pattern of putting version getting started guides on the
release page.
2013-12-22 20:13:02 -08:00
Xiang Li
d4553714d9
Merge pull request #413 from philips/event_history
...
fix(event_history): fix a bug in event queue
2013-12-22 15:48:31 -08:00
Brandon Philips
e1d909eb0e
test(store/event_test): add a test for a full queue
2013-12-22 15:42:51 -08:00
Brandon Philips
317b34f4a0
refactor(store/event_history): cleanup some comments
2013-12-22 15:42:10 -08:00
Xiang Li
0937b4d266
refactor(event_history.go) remove the extra logic
2013-12-22 15:42:10 -08:00
Xiang Li
ef988020b7
fix(event_history) fix a bug in event queue
2013-12-22 15:42:10 -08:00
Xiang Li
70c8c09360
Merge pull request #412 from mojotech/cas/403-proper-http-statuses
...
Use more appropriate HTTP status codes for error cases.
2013-12-21 20:29:40 -08:00
Chris Shoemaker
d89fa131ab
feat(v2/errors): Use more appropriate HTTP status codes for error cases.
...
This commits adds test coverage for all the error and non-error cases
described below, but only the behavior of the 403, 404 and 412 cases
are changing in this commit.
When setting a key results in a new resource, we asset an HTTP status
code of 201 (aka "Created").
When attempting to get a resource that doesn't exist, we assert an
HTTP status code of 404 (aka "Not Found").
When attempting to delete a directory without dir=true, or a non-empty
directory without recursive=true, but the request is otherwise valid,
we assert an HTTP status code of 403 (aka "Forbidden").
When a precondition (e.g. specified by prevIndex, or prevValue) is not
met, but the request is otherwise syntactically valid, we assert an
HTTP status code of 412 (aka "Precondition Failed"). However,
prevExist is handled slightly differently. If prevExist=false fails,
then this is treated like a failed precondition, so it should use
PreconditionFailed. But, if prevExist=true fails, then this is
treated like other requests that require the existence of the
resource, and uses NotFound if the resource doesn't exist.
We continue to assert an HTTP status code of 400 when the request is
syntactically invalid (e.g. when prevIndex=bad_index).
2013-12-21 21:39:19 -05:00
Chris Shoemaker
3f85829e87
fix(v2/tests): make comments and tests agree about what's being tested
...
In cases where the comments were incorrect, this changes them to agree
with the tests. In cases where the comments were correct, this extends
the tests to cover the behavior described in the comment.
2013-12-21 21:39:19 -05:00
Chris Shoemaker
3cde996d21
refactor(v2/tests): don't repeat construction of full test URL
2013-12-21 21:39:19 -05:00
Chris Shoemaker
39fb266776
fix(error.go): fix typo in comment
2013-12-21 21:39:19 -05:00
Xiang Li
557ffbb861
Merge pull request #411 from xiangli-cmu/bench
...
Bench
2013-12-21 14:16:08 -08:00
Xiang Li
ddcf3975ed
fix bench
2013-12-21 16:44:28 +08:00
Brandon Philips
cc88215b46
fix(bench): initial commit
2013-12-20 15:19:02 -08:00
Ben Johnson
3bd2d0da88
bump(code.google.com/p/goprotobuf): 8ba95f2a7335
2013-12-20 15:39:30 -07:00
Ben Johnson
b7854354ff
bump(code.google.com/p/go.net): a1b606ad6242
2013-12-20 15:39:29 -07:00
Ben Johnson
80bc68eb49
bump(github.com/stretchr/testify/mock):
2013-12-20 15:39:26 -07:00
Ben Johnson
8c8ab6a4cb
bump(github.com/gorilla/mux): 9ede152210fa25c1377d33e867cb828c19316445
2013-12-20 15:39:24 -07:00
Ben Johnson
985db7838c
bump(github.com/gorilla/context): a08edd30ad9e104612741163dc087a613829a23c
2013-12-20 15:39:23 -07:00
Ben Johnson
04c98d0a75
bump(github.com/coreos/go-systemd): 700560af03f8e1df35839041745c9f1fccba7c72
2013-12-20 15:39:22 -07:00
Ben Johnson
53436af899
bump(github.com/coreos/go-etcd): 925b981b19b370a2fe073c2395e8f76cfc241124
2013-12-20 15:39:19 -07:00
Ben Johnson
81a73dbc80
bump(github.com/coreos/raft): ac7be58b1bec49dfcfc7216df4ae27173da1fa57
2013-12-20 15:39:17 -07:00
Xiang Li
c4179829d6
tests(get_handler) loosen the time assumption for the un
2013-12-20 08:23:50 +08:00
Xiang Li
9cf1fcc987
refactor(compareAndDelete)
2013-12-20 05:10:22 +08:00
Xiang Li
e2fa89d554
merge compareAndDelete
2013-12-19 22:19:49 +08:00
Ben Johnson
75c02ed0da
Merge pull request #405 from benbjohnson/tuning
...
Add Tuning section to README.
2013-12-18 15:42:16 -08:00
Ben Johnson
c7536ff5e1
Add Tuning section to README.
2013-12-18 16:40:29 -07:00
Ben Johnson
fd8ce5d11a
Merge pull request #398 from benbjohnson/mod-leader
...
mod/leader
2013-12-16 14:55:11 -08:00
Brandon Philips
838645f1b7
Merge pull request #402 from philips/add-header-docs
...
feat(README): document the etcd request headers
2013-12-16 12:44:49 -08:00
Brandon Philips
4fb8e79237
Merge pull request #404 from philips/add-cetcd
...
feat(README): add cetcd
2013-12-16 10:38:01 -08:00