187064187c
tools/benchmark: report standard deviation
2016-01-07 15:30:23 -08:00
2ff95b68e7
Merge pull request #4163 from mordyovits/patch-1
...
storage: minor typo in metrics help field
2016-01-07 13:35:59 -08:00
0d01035693
Minor typo in metrics help field
2016-01-07 16:18:50 -05:00
cc39cde319
tools/benchmark/cmd: print error out to stderr
2016-01-07 12:55:26 -08:00
4d921ab0e4
Merge pull request #4159 from gyuho/kv_header
...
etcdserver/api/v3rpc: fill in KV ResponseHeader
2016-01-07 12:27:49 -08:00
5842177172
etcdserver/api/v3rpc: fill in KV ResponseHeader
2016-01-07 12:18:31 -08:00
6f39608624
Merge pull request #4160 from xiang90/fix_lease
...
lease: unlock before another batch operation
2016-01-07 11:20:31 -08:00
8774d53459
Merge pull request #4158 from heyitsanthony/nolease-to-leasepkg
...
lease: move storage.NoLease to lease package
2016-01-07 10:43:51 -08:00
f22ea70c14
lease: unlock before another batch operation
2016-01-07 10:41:16 -08:00
9e0378998b
Merge pull request #4153 from xiang90/fix_listener
...
etcdmain: tls listener MUST be at the outer layer of all listeners
2016-01-07 10:36:24 -08:00
f9af744be3
lease: move storage.NoLease to lease package
2016-01-07 10:33:44 -08:00
1f97f2dc36
etcdmain: tls listener MUST be at the outer layer of all listeners
...
go HTTP library uses type assertion to determine if a connection
is a TLS connection. If we wrapper TLS Listener with any customized
Listener that can create customized Conn, HTTPs will be broken.
This commit fixes the issue.
2016-01-07 10:26:49 -08:00
db60cdc42c
Merge pull request #4154 from xiang90/snapshot_from_backend
...
*: get snapshot from backend
2016-01-06 23:10:23 -08:00
43a777b7a2
*: get snapshot from backend
...
We should get snapshot from backend, not just KV.
We plan to store the lease data into backend too.
2016-01-06 22:40:23 -08:00
b42a0e4283
Merge pull request #4151 from xiang90/s
...
storage: support recovering from backend
2016-01-06 22:17:18 -08:00
1714290f4e
storage: support recovering from backend
...
We want the KV to support recovering from backend to avoid
additional pointer swap. Or we have to do coordination between
etcdserver and API layer, since API layer might have access to
kv pointer and use a closed kv.
2016-01-06 21:16:55 -08:00
b546f4c2c2
Merge pull request #4152 from xiang90/fix_force
...
backend: create bucket should increase pending
2016-01-06 20:47:32 -08:00
5dd8af444a
backend: create bucket should increase pending
2016-01-06 20:25:50 -08:00
f91d96c9a4
Merge pull request #4150 from gyuho/fix_arg_update_dir
...
etcdctl: get only the first argument for updatedir
2016-01-06 16:44:05 -08:00
dd02ec6554
etcdctl: ignore value in updatedir command
...
Fixes coreos#4145.
client.KeysAPI ignores value if SetOptions.Dir is true.
2016-01-06 16:37:04 -08:00
c70d533771
Merge pull request #4138 from gyuho/watchresponse_header
...
*: fill in WatchResponse.Header
2016-01-06 15:19:36 -08:00
366e7a879f
*: fill in WatchResponse.Header
...
Related to coreos#3848.
2016-01-06 15:12:53 -08:00
ebbb91a713
Merge pull request #4147 from heyitsanthony/listener-unix-sockets
...
pkg/transport: support listeners on unix sockets
2016-01-06 12:41:38 -08:00
f2df87f3e4
pkg/transport: support listeners on unix sockets
...
Given unix://<socketname>, NewListener will listen on unix socket <socketname>.
This is useful when binding to tcp ports is undesirable (e.g., testing).
2016-01-06 12:09:05 -08:00
eab052d5c4
Merge pull request #4141 from ngaut/ngaut/refactor
...
raft: Rename q() to quorum() which is more readable
2016-01-06 07:32:39 -08:00
027dd6169b
Merge pull request #4143 from siddontang/master
...
raft,rafthttp: fix typo
2016-01-06 00:24:28 -08:00
54a45ba2f5
*: fix typo
2016-01-06 16:17:02 +08:00
8ee232d4ec
raft: Rename q() to quorum() which is more readable
2016-01-06 15:23:35 +08:00
45b9cb170d
Merge pull request #4142 from gyuho/delete_test_file
...
storage: remove test file after test
2016-01-05 22:15:40 -08:00
ad29ba3073
storage: remove test file after test
2016-01-05 22:05:28 -08:00
82f2cd6cef
Merge pull request #4140 from xiang90/storage
...
*: make backend outside kv
2016-01-05 20:34:17 -08:00
5dd3f91903
*: make backend outside kv
...
KV and lease will share the same backend. Thus we need to make
backend outside KV.
2016-01-05 19:55:29 -08:00
70d120e08e
Merge pull request #4137 from xiang90/lease
...
lease: recovery leases from backend
2016-01-05 11:32:03 -08:00
9156e54f1f
lease: recovery leases from backend
2016-01-05 11:21:11 -08:00
1e61243fd7
Merge pull request #4134 from xiang90/lease
...
lease: modify API and persist lease to disk
2016-01-05 10:30:52 -08:00
23ddb9ff30
Merge pull request #4126 from heyitsanthony/testutil-recorder-stream
...
remove WaitSchedule() from etcdserver tests
2016-01-05 10:19:14 -08:00
09b420f08c
*: move leaseID typedef to lease pkg
2016-01-05 10:18:17 -08:00
25f82b25f7
lease: modify API and persist lease to disk
2016-01-05 10:09:42 -08:00
838328b057
etcdserver: fix racey WaitSchedule() tests to wait for recorder actions
...
Fixes #4119
2016-01-05 09:39:18 -08:00
384cc76299
pkg/testutil: make Recorder an interface
...
Provides two implementations of Recorder-- one that is non-blocking
like the original version and one that provides a blocking channel
to avoid busy waiting or racing in tests when no other synchronization
is available.
2016-01-05 09:39:18 -08:00
e1bf726bc1
*: split out etcdserver's test mockup objects to live in interfaces' packages
2016-01-05 09:39:13 -08:00
be57b6b10e
Merge pull request #4133 from gyuho/event_map_lookup
...
storage: fix watchable_store notify to hash-lookup once
2016-01-04 22:46:37 -08:00
7339abc79e
storage: fix watchable_store notify to hash-lookup once
...
We should just assign events and ok at first, and check the
boolean value, instead of looking up the map twice.
2016-01-04 22:34:48 -08:00
d9d1342869
Merge pull request #4132 from heyitsanthony/watchid-typedef
...
storage: change type of WatchIDs from int64 to WatchID
2016-01-04 20:02:26 -08:00
21a6ade53d
storage: change type of WatchIDs from int64 to WatchID
2016-01-04 19:52:22 -08:00
e5e355242d
Merge pull request #4130 from gyuho/remove_cancelfunc
...
*: remove CancelFunc return for Watch. Use Cancel for watch.
2016-01-04 16:22:44 -08:00
556d4a6932
*: remove CancelFunc return for Watch. Use Cancel for watch.
2016-01-04 16:17:55 -08:00
b3ad736d2a
Merge pull request #4131 from xiang90/kv_lease
...
*: support put with lease
2016-01-04 16:05:35 -08:00
4336278b44
*: support put with lease
2016-01-04 15:54:06 -08:00
2e2b0ea9a1
Merge pull request #4128 from akolb1/akolb1-4127
...
storage/backend: disable MAP_POPULATE on Solaris
2016-01-04 14:53:40 -08:00