Commit Graph

197 Commits (943fede19c2555007ee1dc6792003dbd6abdfaf8)

Author SHA1 Message Date
Brandon Philips c27db1ec5e Merge pull request #816 from unihorn/95
docs(clustering): limit for peer-address changing
2014-05-30 13:45:12 -07:00
Chris Holcombe 1df0b941d7 Adding autodock into the libraries and tools section 2014-05-30 13:20:28 -07:00
Rob Szumski 001cceb1cd fix(docs): update doc with standby info 2014-05-30 12:23:22 -07:00
Yicheng Qin 98ff4af7f2 docs(clustering): limit for peer-address changing 2014-05-30 08:50:16 -07:00
Brandon Philips 0eba3c9000 feat(Documentation): document the entire admin machines API
Flesh out this document a bit more completely.
2014-05-20 20:25:34 -07:00
Brandon Philips c3aab42959 fix(Documentation): update based on standby refactor
These docs were not updated after the refactoring of the standy mode.
Fix that now.
2014-05-20 20:07:47 -07:00
Brandon Philips 62560f9959 fix(server): add user facing remove API
This was accidently removed as we refactored the standy stuff. Re-add this
user facing remove endpoint that matches the config endpoints.
2014-05-20 20:01:10 -07:00
Kai Davenport e9482167a8 Added the -peer-heartbeat-interval option 2014-05-18 19:22:48 +01:00
Brandon Philips cbcf55dabb Merge pull request #744 from unihorn/71
docs(api): add Cluster Config API
2014-05-18 10:09:07 -07:00
Brandon Philips 1084e51320 Merge pull request #786 from unihorn/91
feat(standby_server): write cluster info to disk
2014-05-18 10:08:52 -07:00
Bassem Youssef d2d68f96fc Add Julia etcd client 2014-05-16 10:11:31 -07:00
Yicheng Qin e5ce4fca2e docs(standbys): clarify pseudocode 2014-05-15 22:47:12 -04:00
Alex Sherwin d2a2cc13b0 fixed typo for etcd lock examples 2014-05-15 21:27:50 -04:00
Yicheng Qin b7d9fdbd39 feat(standby_server): write cluster info to disk
For better fault tolerance and availability.
2014-05-15 07:47:15 -04:00
Yicheng Qin f6591b95c7 chore(standby): minor changes based on comments 2014-05-13 22:19:52 -04:00
Yicheng Qin 403f709ebd chore(cluster_config): set default timeout to 5s
Or the leader death could let the standbys down for a rather long time.
2014-05-13 16:13:44 -04:00
Yicheng Qin 5367c1c998 chore(standby): minor changes based on comments 2014-05-09 15:38:03 -07:00
Yicheng Qin 5bd08a327d docs(standbys): specification for standby module 2014-05-08 15:02:55 -07:00
Yicheng Qin 43ad623965 Merge pull request #740 from unihorn/67
docs(upgrade): instructions for upgrade to v0.4
2014-05-07 07:01:20 -07:00
Yicheng Qin 2d5c7d7fb0 docs(upgrade): instructions for upgrade to v0.4 2014-05-07 07:00:35 -07:00
Yicheng Qin c6be7887e5 docs(discovery): update cluster finding process 2014-05-07 06:55:09 -07:00
Yicheng Qin 8b5d9cc1fb docs(api): make Cluster Config API part clearer 2014-05-05 18:49:21 -07:00
Yicheng Qin 204f2d38af docs(api): add Cluster Config API 2014-04-18 18:24:19 -07:00
Yicheng Qin 9f228550a2 Merge pull request #730 from unihorn/65
chore(server): deprecate mod temporarily
2014-04-18 10:46:09 -07:00
Yicheng Qin a2749bad53 docs(modules): make reasons for deprecation much more clear 2014-04-18 10:36:59 -07:00
Yicheng Qin 5602d4a2ee docs(modules): make reasons for deprecation more clear 2014-04-18 09:31:57 -07:00
Yicheng Qin 6988676f43 docs(clustering): docs about rejoin 2014-04-17 10:16:53 -07:00
Yicheng Qin 67600603c5 chore: rename proxy mode to standby mode
It makes the name more reasonable.
2014-04-17 08:04:42 -07:00
Yicheng Qin 1eaa9c9899 docs: record module deprecation 2014-04-16 23:24:11 -07:00
Brian Waldon f5ee9b97de doc(tools): Add fleet to list of projects using etcd 2014-04-14 14:43:37 -07:00
Yicheng Qin d266f9dec7 Merge pull request #713 from unihorn/63
fix(server/key): unable to update unexpired ttl
2014-04-14 11:06:31 -07:00
Yicheng Qin 1af51ca0c5 docs(ttl): the way to unset ttl 2014-04-14 11:05:52 -07:00
Xiang Li d4b33c7e12 Merge pull request #718 from bmizerany/master
docs(production-ready): explain the state of etcd clearly
2014-04-14 00:43:15 -04:00
Blake Mizerany a05ff7f83d docs(production-ready): explain the state of etcd clearly 2014-04-13 21:38:38 -07:00
Brandon Philips 9129475a51 Merge pull request #646 from metaflow/api-doc-release-lock
doc(api) correct release lock curl command
2014-04-03 16:59:31 -07:00
Daniel Garcia 2ad9ea8c57 Update clients-matrix.md
go-etcd does not currently support Lock or Leader modules.
2014-04-01 09:24:00 -05:00
Brandon Philips eb21381ddd fix(Documentation/cluster-discovery): link to optimal cluster size 2014-03-31 14:48:25 -07:00
darron froese 754159b60f Update cluster-discovery.md 2014-03-31 15:45:23 -06:00
darron froese fa7c77a6e0 2 nodes isn't durable - to be somewhat expected.
So maybe we add this small documentation patch to show minimum 3 nodes.
2014-03-31 15:07:18 -06:00
Brandon Philips 140329d927 Merge pull request #654 from robszumski/timeout-docs
feat(docs): document peer timeout flag and env var
2014-03-27 07:27:52 -07:00
Ulexus 85301dbc4e Add mod/lock timeout.
Added timeout goroutine to stop waiting on lock after timeout
expiration.

This necessitated reworking the flow of the acquire handler.  createNode
now _only_ creates the node; it no longer waits on the lock itself.
getLockIndex (perhaps this is poorly named) extracts out the lock
checking routine so that it can be used by "get" and "watch", both.
get() was added to instantaneously attempt to acquire a lock with no
waiting.

If a lock fails to acquire, for whatever reason, an error is returned,
resulting in a code 500 to the client.
2014-03-26 10:39:48 -06:00
Rob Szumski e86fe8e749 feat(docs): document peer timeout flag and env var 2014-03-25 13:07:22 -07:00
Ben Johnson 62b89a128a Merge branch 'master' of https://github.com/coreos/etcd into proxy
Conflicts:
	config/config.go
	server/peer_server.go
	server/transporter.go
	tests/server_utils.go
2014-03-24 15:30:14 -07:00
Mikhail Goncharov a20ce3e7a5 doc(api) correct release lock curl command
related to #638 issue - DELETE request body is ignored
typo fixed
2014-03-23 21:53:54 +07:00
Matt Layher 38631395b6 docs(Documentation/api): fix JSON spacing, syntax highlighting 2014-03-20 02:36:35 -04:00
Ben Johnson 7d4fda550d Machine join/remove v2 API. 2014-03-18 16:25:21 -06:00
Jonathan Leibiusky bb3b71a43f Add etcd-fs as a tool 2014-03-18 10:37:24 -04:00
Yicheng Qin 15126a680f Merge pull request #621 from unihorn/34
chore(fixtures/ca): make all certificates generated by etcd-ca
2014-03-17 13:47:59 -07:00
Yicheng Qin 50d9e6a7fd chore(fixtures/ca): make all certificates generated by etcd-ca 2014-03-17 12:32:55 -07:00
Slawosz Slawinski 838a945862 feat(Vagrantfile): Add Vagrantfile for easy start 2014-03-15 12:48:48 -07:00
Mikhail Goncharov b8f59340af docs(api): updated examples and description of CAS and CAD 2014-03-12 09:33:47 +07:00
Brandon Philips ac872b3855 Merge pull request #607 from Asmod4n/patch-1
Added Error 107 to Documentation
2014-03-05 09:18:44 -08:00
Cong Peijun 3a1d9e683b Add PHP library.
We implement the api client useing php.
2014-03-05 20:01:42 +08:00
Asmod4n 148ac97742 docs(errorcode.md): add the EcodeRootROnly error 2014-03-05 09:18:10 +01:00
Cong Ding dbed0f7d6a fix(Documentation/*): fix various typos 2014-03-03 16:12:15 -08:00
Brandon Philips 02a053a4b8 feat(Documentation/api): document file upload
This gets asked about a lot int IRC/mailinglist/etc. Fixes this issue:
https://github.com/coreos/etcd/issues/383#issuecomment-31183603
2014-02-23 10:17:05 -08:00
Andrew Armstrong e6e6f7d8d0 Trivial formatting correction 2014-02-23 12:48:35 +11:00
Brandon Philips f922a08a27 Merge pull request #586 from wereHamster/patch-1
docs: Add links to haskell bindings and scrz project
2014-02-21 10:03:35 -08:00
Brandon Philips 035bbc6913 feat(Documentation): add a section on consistent reads
We have waited too long to document `consistent=true`. Document it!
2014-02-21 09:39:54 -08:00
Tomas Carnecky ae8d416c57 Add links to haskell bindings and scrz project 2014-02-21 02:59:38 +00:00
Yicheng Qin 46d817f91b Merge pull request #577 from unihorn/6
chore: rename 'heartbeat timeout' to 'heartbeat interval'
2014-02-18 17:11:31 -08:00
Yicheng Qin f434177a9a chore: rename 'heartbeat timeout' to 'heartbeat interval'
Heartbeat timeout means the period length that indicates heartbeat is
out of service, which is different from heartbeat interval.

So we should use '-peer-heartbeat-interval' instead of
'-peer-heartbeat-timeout' in etcd.

'-peer-heartbeat-timeout' is deprecated but still could be used.
2014-02-18 16:37:20 -08:00
Yicheng Qin 04f21b5976 Merge pull request #569 from unihorn/5
Ordering and functionality of `-discovery` `-peers` and data dir to find peers
2014-02-17 14:34:53 -08:00
Yicheng Qin cf38910601 docs: boot order to find peers 2014-02-17 14:17:14 -08:00
Long Nguyen 1cc60df5f3 fix(Documentation): example of discovery in conf and env vars 2014-02-14 08:59:17 -08:00
Laust Rud Jacobsen be069d5918 fix(Documentation/tuning): fix incorrect comment about snapshot 2014-02-13 13:54:09 -08:00
Brandon Philips ba8e5d7add fix(Documentation): single machine clusters have some stats undefined
document that single machine clusters will omit sendBandwidthRate and
sendPkgRate.

Via http://thread.gmane.org/gmane.comp.distributed.etcd/218
2014-02-10 21:58:09 -08:00
Brian Waldon f5be7c9136 Merge pull request #551 from bcwaldon/doc-compareAndDelete
Document CompareAndDelete
2014-02-09 15:29:24 -08:00
Brian Waldon 1fcbc83503 doc(CompareAndSwap): clarify prevIndex in CAS 2014-02-08 07:27:59 -08:00
Brian Waldon 08818886b2 doc(CompareAndDelete): Add missing CAD docs
Fixes issue #549
2014-02-08 07:27:33 -08:00
Jan-Erik Rediger c6910a96de Change token example to use returned value only
The discovery.etcd.io/new already returns a complete URL containing the host, so there is no need to specify it on the command line.
2014-02-08 09:58:24 +01:00
Brian Waldon 0696e5026f doc(api): Document prevNode 2014-02-07 15:03:15 -08:00
Brandon Philips 27cb38f38c fix(Documentation): add etcd-dump to libraries and tools
Fixes #325
2014-02-07 11:35:19 -08:00
Rob Szumski 445b584333 fix(docs): explicitly create links instead of using the markdown parser 2014-02-05 16:52:31 -08:00
Brandon Philips f7dae0de02 Merge pull request #533 from robszumski/master
fix(docs): add full command example and link to discovery spec
2014-02-05 16:29:43 -08:00
Brandon Philips cbdf4a738c fix(discovery): use prevExist instead of prevValue=init
Use PUT /_state?prevExist=true in the protocol instead of PUT
/_state?prevValue=init. This lets people point one vanilla etcd at the
key prefix of another vanilla etcd and have it just work.
2014-02-05 15:14:57 -08:00
Rob Szumski 1d4912b22f fix merge conflicts 2014-02-05 14:39:48 -08:00
Rob Szumski bc7297c2d0 feat(docs): add cluster discovery documentation 2014-02-05 14:37:40 -08:00
Brandon Philips 39ddb29e63 Merge pull request #515 from robszumski/master
feat(docs): add cluster discovery documentation
2014-02-05 11:53:31 -08:00
Rob Szumski fe35839a77 feat(docs): add cluster discovery documentation 2014-02-05 10:54:28 -08:00
Brandon Philips 2d75ef0c7a feat(Documentation/discovery-protocol): explain heartbeating
Explain more information about how the TTL works and etcds role.
2014-02-05 09:27:40 -08:00
Brandon Philips 8687dd3802 feat(discovery): fully working discovery now 2014-02-05 09:27:39 -08:00
Brandon Philips 72514f8ab2 feat(bootstrap): initial working code
This is an initial version of the bootstrap code that seems to work
under the normal circumstances. I need to mock out a server that will
test out all of the error cases now.
2014-02-05 09:27:39 -08:00
Brandon Philips 0e50d9787a feat(*): bootstrap initial commit
Setup the flags, and checkin the docs. Lets do this!
2014-02-05 09:27:39 -08:00
Brandon Philips 9e43e726a9 Merge pull request #507 from philips/turn-snapshots-on-by-default
feat(*): enable snapshots by default
2014-02-05 09:08:43 -08:00
evan-gu b61cf9cb8e fix a format error in libraries-and-tools.md 2014-02-04 14:30:40 -05:00
Jonathan Boulle 03ff4c8b76 Missed one 2014-01-25 12:22:37 -08:00
Jonathan Boulle 7992448f6a Various cleanup to API documentation 2014-01-25 12:08:57 -08:00
Brandon Philips 7ee7e910eb feat(*): enable snapshots by default
Ben recently added test coverage for snapshots so we should enable it in
etcd. Lets do this.

1d66f6a111
2014-01-23 20:53:22 -08:00
Brandon Philips 281b0e7e59 Merge pull request #506 from philips/add-freebsd-docs
feat(Documentation): add instructions on freebsd
2014-01-23 16:44:38 -08:00
Bartłomiej Rutkowski 50e6256058 feat(Documentation): add instructions on freebsd 2014-01-23 16:43:38 -08:00
Brandon Philips 1b00c449a5 Revert "Better error message when setting values on directories"
This reverts commit d13dd50d51.
2014-01-23 11:22:11 -08:00
Xiang Li 9848072d21 Merge pull request #487 from intjonathan/patch-1
English clarity in filesystem documentation.
2014-01-23 04:03:05 -08:00
Kelsey Hightower d13dd50d51 Better error message when setting values on directories
Without this commit etcd returns the following error message when
setting values on directories:

    {
      "errorCode":102,
      "message":"Not a file",
      "cause":"/postgres",
      "index":2
    }

While the above error message is accurate it's not very descriptive.
This commit adds a new error code/message which better describes why the
write operation failed. etcd now returns the following:

    {
      "errorCode":109,
      "message":"Cannot set value on directory",
      "cause":"/postgres",
      "index":2
    }
2014-01-22 23:02:33 -08:00
Jonathan Owens 8fece992eb Update filesystem documenation for clarity. 2014-01-22 20:43:54 -08:00
Ben Johnson 0692097a73 Add snapshot documentation. 2014-01-22 16:06:25 -07:00
Dru Sellers 5bf667851c adding .net client to the matrix 2014-01-22 10:00:22 -06:00
Dru Sellers c32dfa013d adding .net client 2014-01-22 09:24:54 -06:00
Brian Waldon a417782151 Merge pull request #483 from bcwaldon/metrics
Integrate go-metrics
2014-01-21 14:17:03 -08:00
Brian Waldon 3e7c2dff96 feat(metrics): Add documentation and contrib scripts 2014-01-20 15:37:31 -08:00