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
Jamu Kakar
823e744ed9
- Fix typo.
2014-01-18 18:28:33 -08:00
Rob Szumski
e89e42382a
fix(docs): remove header
2014-01-17 13:06:59 -08:00
Rob Szumski
184a5901e6
feat(docs): modify for sync to CoreOS website
2014-01-17 12:25:36 -08:00
Brandon Philips
444b5d329c
fix(Documentation/profiling): note about using the right binary
2014-01-16 15:51:30 -08:00
Brandon Philips
7a7f6aea00
Merge pull request #479 from philips/add-debug-endpoint
...
add-debug-endpoint
2014-01-16 11:28:52 -08:00
Brandon Philips
c2077ed0b6
feat(server): add net/http/pprof endpoints
...
Add some basic profiling endpoints over http to start digging into
memory and request latencies.
2014-01-15 15:03:29 -08:00
Xiang Li
87113f985f
Merge pull request #472 from benbjohnson/fix-error-codes
...
Fix mod/lock and mod/leader return error codes.
2014-01-15 01:14:59 -08:00
Brandon Philips
0f97e3528a
chore(build): use third_party.go
...
use the third_party.go project to replace our update script. This
requires moving a few things around and gets rid of a few annoying bugs:
- You can now bump individual packages
- A new src directory isn't created on build
- Less shell scripting!
- Things get built into ./bin/
2014-01-14 22:14:47 -08:00
Ben Johnson
cde184fdbf
Fix mod/lock and mod/leader return error codes.
2014-01-14 07:57:30 -07:00
Ranjib Dey
8b8b8d74fe
style(Documentation/api): keep curl based examples consistent and correct
...
- fix curl examples where `http://` was missing.
- consistent passing HTTP method parameter (all examples now have -X ACTION at
the end or the url, GET is implicit)
- quote url when it contains `&` , instead of escaping
2014-01-11 20:51:25 -08:00
Brandon Philips
181805bb87
feat(Documentation/modules): note the dashboard is compiled in
2014-01-09 17:57:14 -08:00
Rob Szumski
782166dadd
feat(docs): make clustering examples more complete
2014-01-09 14:37:04 -08:00
Xiang Li
dd6623be2f
Merge pull request #454 from dsoprea/master
...
Added HTTPS for python-etcd-client.
2014-01-08 21:32:59 -08:00
Brandon Philips
8047cfd48e
Merge pull request #447 from robszumski/master
...
Prepare docs to be synced to website
2014-01-08 16:38:44 -08:00
Brandon Philips
ddd8e85146
chore(Documentation/api): introduce acronym later in the text
2014-01-08 10:46:05 -08:00
Brandon Philips
68546de2cb
Merge pull request #444 from philips/document-stats-api
...
Documentation: document the stats API
2014-01-08 10:41:29 -08:00
Brandon Philips
7553a92232
feat(Documentation/api): document the store statistics
2014-01-08 10:40:57 -08:00
Brandon Philips
c7e642baa2
fix(Documentation/api): fixup the names in stats
...
This was fixed in #449
2014-01-08 10:36:44 -08:00
Dustin Oprea
0377ea751d
Added additional separator column.
2014-01-08 10:48:29 -05:00
Dustin Oprea
5efad911d5
Added HTTPS for python-etcd-client.
2014-01-08 09:57:45 -05:00
Xiang Li
0cc2e8887f
doc(Documentation/libraries-and-tools.md) fix link to clients-matrix
2014-01-08 14:26:56 +08:00
Rob Szumski
e373c9ac8c
fix(docs): suggest cors flag for using dashboard
2014-01-07 17:08:15 -08:00
Rob Szumski
5f2d9b38dc
fix(docs): reference correct cors flag
2014-01-07 17:03:45 -08:00
Rob Szumski
a7eeb01bc8
fix(docs): reference correct cors flag
2014-01-07 17:03:11 -08:00
Dustin Oprea
28652ed7af
Updated client matrix.
2014-01-07 00:49:28 -05:00
Brandon Philips
9a8bd96ad3
feat(Documentation/api): add a statistics section
2014-01-05 23:06:56 -08:00
Brandon Philips
66271fe986
chore(Documentation/api): remove some whitespace
2014-01-05 23:05:15 -08:00
Brandon Philips
1caa3245e6
feat(Documentation/api): add some intro material
...
add some intro material and normalize the headers to the rest of the
coreos/docs.
2014-01-05 23:04:27 -08:00
Brandon Philips
ecc96df699
chore(server): remove web url
...
web URL is not longer used so remove it from tests and configuration
documents.
2014-01-05 20:39:39 -08:00
Giuseppe Lavagetto
e9b85264ab
docs(clients-matrix.md): Introducing the library features matrix.
...
As support for etcd features is very uneven between different clients,
a feature matrix can help application developers to understand what a
client library can offer them, and also help client libraries
developers to understand what they should work on. I assessed the
features of all client libraries by looking at their master branch on
github, to the best of my knowledge.
2014-01-05 11:30:11 +01:00
Brandon Philips
801b642dea
fix(Documentation): fixup headers
...
fixup the headers on the api and tuning sections
2014-01-04 17:58:39 -08:00
Brandon Philips
e7527ebb45
fix(README): link to the configuration file too
2014-01-03 14:39:23 -08:00
Brandon Philips
bfde27a99d
feat(README): splitup the sections into individual files
...
The README is getting rather large so split it into individual files.
The next step will be rendering these into HTML pages with a TOC so that
they are a bit more navigable.
What do people think of this?
2014-01-03 14:37:53 -08:00
Rob Szumski
009b84c5fc
feat(docs): add cluster size guide
2014-01-02 16:11:25 -08:00
Baruch Even
08dffe85d6
Fix spelling mistakes in internal-protocol-versioning.md
2013-12-01 08:35:56 +02:00
Ben Johnson
cba2611c68
Renamed configuration parameters.
2013-11-15 00:13:32 -05:00
Ben Johnson
f99d24310f
Fix conf extension and documentation.
2013-10-23 13:44:53 -06:00
Ben Johnson
bc0e07bca2
Add tiered configuration.
2013-10-21 21:37:25 -06:00
Xiang Li
a7eb09a557
Merge pull request #10 from evan-gu/fileSystem
...
added sorting, changed the interface, modified the documents, added some test case
2013-09-08 20:16:30 -07:00
evan-gu
38489bd846
add documentation about sorting, change the argument name from sorting to sorted
2013-09-08 21:21:57 -04:00
Hongchao Deng
effc8285f2
New error-system for Etcd with docs
2013-09-08 18:46:16 -04:00
Hongchao Deng
8ab6684bf5
Merge branch 'fileSystem' of github.com:xiangli-cmu/etcd into fileSystem
2013-09-07 10:40:43 -04:00
Hongchao Deng
4f7011fc2b
add acl doc
2013-09-07 10:40:19 -04:00
Xiang Li
907e39edec
update operation
2013-09-06 23:01:11 -04:00
Hongchao Deng
9b80e1cd64
refine doc
2013-09-06 14:28:11 -04:00
Xiang Li
197b9106f9
init file system spec
2013-09-04 22:40:33 -04:00
Brandon Philips
53b2038d2e
feat(command): add version to join command
...
Add a version to the join command. Add a versioning document to discuss
some of the design decisions.
2013-08-18 21:54:07 -07:00