Cenk Alti
ccb960f47f
refactor(main): close peer server first
2014-04-01 12:41:33 -07:00
Cenk Alti
561ad16757
refactor(main): rename Etcd.Close() to Etcd.Stop()
2014-04-01 12:41:33 -07:00
Cenk Alti
399f491fd7
feat(main): add close and ready notifiers for etcd instance
2014-04-01 12:41:33 -07:00
Cenk Alti
c463293d39
feature(main): add Etcd.Close() method
2014-04-01 12:41:33 -07:00
Cenk Alti
094cc6347d
refactor(main): move main logic to separate package
...
The use case is to make it easy to embed etcd into another programs.
Currently, the only way of doing this to copy and paste the contents
of the `main()` in etcd.go.
With this commit, contents of the `main()` is moved into `Etcd.Run()`.
2014-04-01 12:41:33 -07:00
Brandon Philips
022908f1fa
Merge pull request #670 from daniel-garcia/patch-1
...
Update clients-matrix.md
2014-04-01 11:09:03 -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
Yicheng Qin
b2f787a2fd
Merge pull request #653 from unihorn/49
...
chore(etcd): print out go-etcd log in VeryVeryVerbose Mode
2014-03-31 16:55:20 -07:00
Yicheng Qin
ea701b3adb
chore(etcd): print out go-etcd log in VeryVeryVerbose Mode
2014-03-31 16:53:48 -07:00
Brandon Philips
eb21381ddd
fix(Documentation/cluster-discovery): link to optimal cluster size
2014-03-31 14:48:25 -07:00
Brandon Philips
534b5feca6
Merge pull request #668 from darron/patch-1
...
2 nodes isn't durable - to be somewhat expected.
2014-03-31 14:46:33 -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
Xiang Li
5b4a473f14
Merge pull request #667 from unihorn/53
...
chore(tests): test TestTLSMultiNodeKillAllAndRecovery now
2014-03-27 22:40:09 -04:00
Brandon Philips
eeca12a4c0
Merge pull request #663 from tsenart/master
...
Making code formatting consistent.
2014-03-27 17:08:12 -07:00
Yicheng Qin
4e747d24dd
chore(tests): test TestTLSMultiNodeKillAllAndRecovery now
...
It is fixed.
2014-03-27 17:06:18 -07:00
Yicheng Qin
4f1607b775
Merge pull request #651 from unihorn/48
...
fix(tests): pass all tests using latest raft
2014-03-27 16:19:59 -07: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
Tomás Senart
b6053d6a86
Making code formatting consistent.
...
$ gofmt -s -w && goimports -w
2014-03-27 14:19:08 +01:00
Blake Mizerany
1f10c4d352
Merge pull request #662 from bmizerany/skip
...
test(tests/functional): skip TestTLSMultiNodeKillAllAndRecovery until fi...
2014-03-26 19:24:43 -07:00
Blake Mizerany
4bce3e4810
test(tests/functional): skip TestTLSMultiNodeKillAllAndRecovery until fixed
2014-03-26 19:22:59 -07:00
Blake Mizerany
99c8b097d1
ignore .etcd dirs
2014-03-26 12:19:20 -07:00
Ben Johnson
f4aaef5955
Merge branch 'master' of https://github.com/coreos/etcd
2014-03-26 10:43:37 -06: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
Yicheng Qin
8afa93ed59
chore(server/listener): improve comment
2014-03-25 22:51:52 -07:00
Xiang Li
2bba9a984e
Merge pull request #657 from cenkalti/errors
...
refactor(errors): use map literal syntax
2014-03-26 00:19:18 -04:00
Cenk Alti
303a3096d4
refactor(errors): use map literal syntax
...
Error strings align better this way.
2014-03-25 20:17:21 -07:00
Rob Szumski
e86fe8e749
feat(docs): document peer timeout flag and env var
2014-03-25 13:07:22 -07:00
Yicheng Qin
a3cbf02597
fix(tests): pass all tests using latest raft
2014-03-24 17:35:45 -07:00
Ben Johnson
802aaf59db
Merge pull request #582 from benbjohnson/proxy
...
Proxies & Config API
2014-03-24 16:30:47 -06: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
Ben Johnson
174b9ff343
bump(github.com/goraft/raft): 6bf34b9
...
Move from coreos/raft to goraft/raft and update to latest.
2014-03-24 15:09:47 -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
Brandon Philips
aeb9e0633a
Merge pull request #641 from mdlayher/patch-1
...
docs(Documentation/api): fix JSON spacing, syntax highlighting
2014-03-22 09:30:21 -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
Yicheng Qin
4b5765e2c7
Merge pull request #634 from unihorn/42
...
fix(test/server): minimize the process of getting watch result
2014-03-18 11:44:31 -07:00
Yicheng Qin
df2b565397
fix(test/server): avoid watch test timeout by moving json decode
...
These tests were timing out because the combination of the GET and JSON
decode was taking longer than the timeout. Pull the JSON decode out of
the go routine that is being timed.
2014-03-18 08:49:14 -07:00
Brandon Philips
1a8a6ce872
Merge pull request #637 from xetorthio/patch-1
...
Add etcd-fs as a tool
2014-03-18 07:53:28 -07:00
Jonathan Leibiusky
bb3b71a43f
Add etcd-fs as a tool
2014-03-18 10:37:24 -04:00
Mikhail Goncharov
803aeb8fae
feat(benchmark) fix of flag arguments and updated logging
2014-03-18 12:33:19 +07: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
Xiang Li
79e4c838f4
Merge pull request #626 from xiangli-cmu/refactor_listener
...
refactor(listener) refactor listener related code
2014-03-13 20:05:54 -07:00
Xiang Li
3ae792b159
refactor(listener) refactor listener related code
...
Remove duplicate code around creating http listener.
Start to listen incoming http requests just before serving them.
2014-03-13 15:47:27 -07:00
Brandon Philips
a9d5cc5a50
Merge pull request #610 from metaflow/master
...
docs(api) added note for CAS about prevIndex=0 and `cause` meaning in server response
2014-03-11 20:25:31 -07:00
Mikhail Goncharov
b8f59340af
docs(api): updated examples and description of CAS and CAD
2014-03-12 09:33:47 +07:00
Xiang Li
c8e65c1315
Merge pull request #616 from xiangli-cmu/add_snapshot_post
...
fix(server/transporter.go) fix the short timeout problem of sending snapshot
2014-03-11 18:51:47 -07:00
Brandon Philips
0ea6141dc8
Merge pull request #614 from metaflow/fix-611
...
fix Compare and swap returns incorrect cause
2014-03-10 18:16:49 -07:00