Commit Graph

225 Commits (6e6d1897d8f8185814ef2265b2e1600080ecc021)

Author SHA1 Message Date
edwardcapriolo 97a1ca1ad3 Update libraries-and-tools.md
Added a new small c++ library
2014-08-06 10:50:28 -04:00
Rob Szumski 686837227e fix(docs/api): mention version endpoint is per instance 2014-07-28 11:28:16 -07:00
Rob Szumski f2652f005e Merge pull request #882 from cap10morgan/patch-1
add the /version endpoint to the API docs
2014-07-28 11:26:24 -07:00
Matt Parker 70dda950ed Adds units of time to flag docs
This fixes issue #905 based on the comments provided in server/cluster_config.go
2014-07-27 00:39:02 -04:00
Brandon Philips 919cd380ec Merge pull request #883 from philips/add-consistent-note
Documentation: add note about consistent=true
2014-07-14 14:39:38 -08:00
Brandon Philips 05bfb369ef Documentation: add note about consistent=true 2014-07-13 11:07:59 -08:00
Rob Szumski 0639c4c86d fix(docs): name defaults to uuid not hostname 2014-07-11 11:30:05 -07:00
Wes Morgan 0593a52107 add the /version endpoint to the API docs
I had to find this by accident. It should be documented here.
2014-07-08 17:26:47 -04:00
Brandon Philips a8d966d8f3 Merge pull request #880 from philips/add-http-server-timeouts
etcd: add a read/write timeout to server
2014-07-07 16:02:27 -07:00
Mauricio de Abreu Antunes ad7194d5d0 Documentation: remove etcd-py since it was removed
URL is no longer working
2014-07-07 14:26:56 -07:00
Brandon Philips 084dcb5596 etcd: add a read/write timeout to server
The default is for connections to last forever[1]. This leads to fds
leaking. I set the timeout so high by default so that watches don't have
to keep retrying but perhaps we should set it slower.

Tested on a cluster with lots of clients and it seems to have relieved
the problem.

[1] https://groups.google.com/forum/#!msg/golang-nuts/JFhGwh1q9xU/heh4J8pul3QJ
2014-07-07 11:42:56 -07:00
Cole Gleason ce1e19ae2f Merge pull request #849 from colegleason/max-cluster-size
docs(cluster-size): remove outdated references to flag max-cluster-size
2014-07-02 12:21:14 -07:00
sivaramsk fb426aec9e Update optimal-cluster-size.md 2014-06-25 14:20:59 +05:30
Blake Mizerany fb32a999a6 doc: add note about removal of leader mod 2014-06-19 17:10:34 -07:00
Yicheng Qin eb00f200d3 Merge pull request #856 from robn/patch-1
Add p5-etcd (Perl client lib) to clients-matrix
2014-06-18 10:45:11 -07:00
Rob Szumski b31483b2be Merge pull request #850 from robszumski/update-config
feat(docs): add cluster config section
2014-06-17 17:45:50 -07:00
Rob Szumski e9a21dda4b Merge pull request #851 from unihorn/103
docs(configuration): add cluster configuration
2014-06-17 17:44:51 -07:00
Tom Arnfeld 6bd2ee4c49 Added discodns to the list of tools using etcd 2014-06-18 00:08:21 +01:00
Robert Norris fcd429467e Add p5-etcd (Perl client lib) to clients-matrix 2014-06-18 08:15:03 +10:00
Yicheng Qin e5e759b962 docs(config): refine cluster configuration 2014-06-17 09:31:08 -07:00
Rob Szumski d8a08f53e3 feat(docs): add cluster config section 2014-06-16 22:31:13 -07:00
Brian 'Redbeard' Harrington 0d2512cb99 docs(libraries-and-tools.md) Add vulcan proxy and kubernetes
Both vulcan proxy (vulcand) and Google kubernetes utilize etcd as
as storage engine.
2014-06-16 20:03:47 -07:00
Yicheng Qin a29f6fb799 docs(configuration): add cluster configuration 2014-06-16 13:58:00 -07:00
Cole Gleason f4f429d4e3 docs(cluster-size): remove outdated refrences to flag max-cluster-size 2014-06-16 09:41:37 -07:00
Peter Waller 24a442383b docs(production-ready.md): Tiny typo fix 2014-06-13 14:41:23 +01:00
Jonathan Boulle 1359d29fa4 docs(cluster-discovery): fix bad link and confusing port references 2014-06-08 23:58:14 -07:00
Yicheng Qin ed58193ebe chore(server): set DefaultRemoveDelay to 30mins
Its value was 5s before, which could remove the node insanely fast.
2014-06-06 16:57:35 -07:00
Yicheng Qin ca44801650 docs(cluster-discovery): add caution to use old discovery endpoint 2014-06-02 11:34:56 -07:00
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