bf70b5127a
lease: initial lessor impl
2015-11-08 11:28:50 -08:00
ca25ed3ad2
proxy: expedite proxy refresh given no endpoints
...
This fixes coreos#3647 by giving shorter proxy refresh interval whenever
there is no endpoints found. Deleted sleep command in Procfile and proxy
documentation accordingly.
2015-11-07 07:27:39 -08:00
7c9e92d1d5
Merge pull request #3830 from xiang90/bolt
...
Godeps: update boltdb
2015-11-06 13:04:38 -08:00
4669b899cc
Godeps: update boltdb
2015-11-06 12:58:28 -08:00
3de5d478ef
Merge pull request #3829 from jonboulle/master
...
godeps: bump coreos/pkg/capnslog
2015-11-06 18:49:08 +01:00
6f8356ba40
godeps: bump coreos/pkg/capnslog
...
Update to catch coreos/pkg#43 which should fix SYSLOG_IDENTIFIER getting
set when etcd is logging to the journal.
2015-11-06 18:37:06 +01:00
ab1d33b8bd
*: bump to v2.3.0-alpha.0+git
2015-11-06 09:16:03 -08:00
a2d4f85d33
*: bump to v2.3.0-alpha.0
v2.3.0-alpha.0
2015-11-06 09:08:39 -08:00
63872d812a
Merge pull request #3825 from jonboulle/master
...
contrib: add example systemd unit file
2015-11-06 17:53:32 +01:00
652d3f1974
contrib: add example systemd unit file
2015-11-06 17:50:19 +01:00
e3ce605cb5
Merge pull request #3826 from jonboulle/scripts
...
scripts: enforce genproto.sh is run from repo root
2015-11-06 17:26:16 +01:00
de0cb472be
scripts: enforce genproto.sh is run from repo root
2015-11-06 16:13:24 +01:00
f48e95f7b0
Merge pull request #3822 from mitake/strict-reconfig-error-log
...
etcdserver: correct error log for strict reconfig checking
2015-11-06 15:13:27 +01:00
2c8ffa6bcb
etcdserver: correct error log for strict reconfig checking
...
This commit fixes an error log caused by the strict reconfig checking
option.
Before:
14:21:38 etcd2 | 2015-11-05 14:21:38.870356 E | etcdhttp: got unexpected response error (etcdserver: re-configuration failed due to not enough started members)
After:
log
13:27:33 etcd2 | 2015-11-05 13:27:33.089364 E | etcdhttp: etcdserver: re-configuration failed due to not enough started members
The error is not an unexpected thing therefore the old message is
incorrect.
2015-11-06 11:03:42 +09:00
9d880f136f
Merge pull request #3818 from yichengq/req-snap-log
...
etcdserver: fix snapshot index in creation log line
2015-11-05 14:04:46 -08:00
0874c44cdc
etcdserver: fix snapshot index in creation log line
...
The snapshot is created at appliedi instead of snapi.
2015-11-05 14:02:09 -08:00
dadfdf6af8
Merge pull request #3802 from yichengq/fix-storage-watch
...
storage: delete key instead of setting it to false
2015-11-05 11:40:46 -08:00
08f0d94019
Merge pull request #3809 from xiang90/rpc_kv
...
*: refactor kv rpc implementation
2015-11-04 19:05:48 -08:00
47cad59571
Merge pull request #3813 from yichengq/update-version
...
*: update clusterMinVersion and feature maps for incoming v2.3
2015-11-04 14:37:37 -08:00
ec3c2d23a3
*: update feature maps to adopt v2.3.0
2015-11-04 14:30:35 -08:00
b82c171f5f
version: update MinClusterVersion to v2.2.0
...
This is the preparation for bumping to v2.3.0-alpha
2015-11-04 14:30:04 -08:00
03951495d3
Merge pull request #3811 from gyuho/storage_watchergauge_fix
...
storage: move watcherGauge to watchable_store
2015-11-04 13:23:10 -08:00
6e5eb03544
storage: move watcherGauge to watchable_store
...
watcherGauge should be increased everytime we creates Watcher, not per watch
method call.
2015-11-04 13:17:47 -08:00
319b77b051
Merge pull request #3810 from gyuho/storage_metrics_add_watcher_gauge
...
storage: add metrics to watcher
2015-11-04 13:09:07 -08:00
4ebf28aa2e
storage: add metrics to watcher
...
This adds metrics to watcher, and changes some order in MustRegister function
calls in init (same order that we define the gauges).
2015-11-04 13:01:52 -08:00
33fe6f41fb
Merge pull request #3808 from yichengq/fix-wait-test
...
pkg/wait: extend wait timeout in TestWaitTime
2015-11-04 11:39:24 -08:00
3d15526c35
Merge pull request #3796 from yichengq/fix-get-version
...
etcdserver: not reuse connections for peer transport
2015-11-04 11:39:14 -08:00
c37bd2385a
*: refactor kv rpc implementation
2015-11-04 11:36:17 -08:00
3b8349c06e
pkg/wait: extend wait timeout in TestWaitTime
...
Fix this error happening on travis:
```
--- FAIL: TestWaitTime-2 (0.01s)
wait_time_test.go:46: cannot receive from ch as expected
```
2015-11-04 11:18:17 -08:00
4ccbcb91c8
rafthttp: add functions to create listener and roundTripper
...
This moves the code to create listener and roundTripper for raft communication
to the same place, and use explicit functions to build them. This prevents
possible development errors in the future.
2015-11-04 11:12:46 -08:00
32819f6b3f
etcdserver: use roundTripper to request peerURL
...
It uses roundTripper instead of Transport because roundTripper is
sufficient for its requirements.
2015-11-04 10:49:42 -08:00
5272ee99b5
Merge pull request #3804 from xiang90/ctl_watch
...
etcdctlv3: support watch
2015-11-04 10:21:05 -08:00
616078dc1b
Merge pull request #3807 from xiang90/kv
...
*: rename etcd service to kv service in gRPC
2015-11-04 10:11:02 -08:00
1a3f7f7fa4
*: rename etcd service to kv service in gRPC
2015-11-04 10:05:49 -08:00
65d153db73
Merge pull request #3783 from yichengq/merge-logger
...
rafthttp: use MergeLogger for rafthttp logging
2015-11-04 09:48:43 -08:00
6040d57106
rafthttp: use MergeLogger to merge message-drop log
...
rafthttp logs repeated messages when amounts of message-drop logs
happen, and it becomes log spamming.
Use MergeLogger to merge log lines in this case.
2015-11-04 07:26:58 -08:00
5329159b5e
rafthttp: remove failureMap from peerStatus
...
The logging mechanism is verbose, so it is removed from peerStatus.
We would like to see the status change
of connection with peers, and one error that leads to deactivation.
There is no need to print out all non-repeated errors.
2015-11-04 07:26:33 -08:00
5c1b833232
etcdctlv3: support watch
...
A draft impl for demo.
2015-11-03 19:28:57 -08:00
c8e622f517
storage: make putm/delm a set with empty value
...
This cleans the code, and reduces the allocation space.
2015-11-03 19:10:45 -08:00
6dbfc21846
storage: delete key instead of setting it to false
...
When getting the watched events, it iterate all keys in putm and delm
to generate the events. If we don't delete the key from putm/delm,
it would range on the key that is not actually put or deleted. This is
incorrect.
Fix the panic that happens when single put/delete is watched.
2015-11-03 19:00:39 -08:00
94c6b6a93d
Merge pull request #3801 from yichengq/fix-raft-timeout
...
raft: extend wait timeout in TestNodeAdvance
2015-11-03 18:29:47 -08:00
0de52414cd
raft: extend wait timeout in TestNodeAdvance
...
This fixes the failure met in semaphore CI.
2015-11-03 16:57:18 -08:00
1f1d8e9282
Merge pull request #3800 from xiang90/watch_server
...
*: serve watch service
2015-11-03 16:32:29 -08:00
10de2e6dbe
*: serve watch service
...
Implement watch service and hook it up
with grpc server in etcdmain.
2015-11-03 15:58:34 -08:00
70cb8b8391
Merge pull request #3799 from gyuho/nameing_in_metrics_watching
...
storage: apply same naming in metrics.go
2015-11-03 15:23:39 -08:00
bdc280c4a7
storage: apply same naming in metrics.go
...
This is PR following up with Xiang's https://github.com/coreos/etcd/pull/3795 ,
and to make the naming consistent with its interface change.
2015-11-03 15:19:18 -08:00
f6b097c0cc
Merge pull request #3798 from xiang90/watch_new
...
*: add v3 watch service
2015-11-03 14:39:20 -08:00
c160085f44
*: add v3 watch service
2015-11-03 14:21:24 -08:00
154fc8e19c
Merge pull request #3795 from xiang90/watch_stream
...
storage: add watchChan
2015-11-03 13:32:49 -08:00
a1129dd5a5
storage: support multiple watching per watcher
...
We want to support multiple watchings per one watcher chan. Then
we can have one single go routine to watch multiple keys/prefixs.
2015-11-03 12:36:11 -08:00