Xiang Li
a6144bdf3e
Merge pull request #5507 from xiang90/failure
...
doc: add failures guide
2016-06-01 11:07:22 -07:00
Xiang Li
fc33fd1aa6
doc: add failures guide
2016-06-01 11:06:44 -07:00
Gyu-Ho Lee
47ef5f7ca5
Merge pull request #5510 from gyuho/clientv3_fix
...
clientv3: watch resp with error when client close
2016-06-01 11:01:30 -07:00
Gyu-Ho Lee
75dc10574a
clientv3: watch resp with error when client close
2016-06-01 10:39:48 -07:00
Xiang Li
9ed3b446ca
Merge pull request #5509 from heyitsanthony/clientv3-fix-concurrent-close
...
clientv3: fix deadlock on Get with concurrent Close
2016-06-01 07:37:28 -07:00
Xiang Li
36fcc9e9d4
Merge pull request #5515 from xiang90/logging
...
*: more logging on critical state change
2016-06-01 07:04:36 -07:00
Anthony Romano
a83051d0fc
clientv3: don't panic on Get if NewKV is created with a closed client
2016-06-01 05:53:21 -07:00
Anthony Romano
1d88130522
clientv3: fix deadlock on Get with concurrent Close
2016-06-01 05:53:21 -07:00
Anthony Romano
5cb7400cee
Merge pull request #5508 from heyitsanthony/bench-stm-lock
...
concurrency, benchmark: additional stm support
2016-06-01 05:48:50 -07:00
Xiang Li
8528c8c599
*: more logging on critical state change
...
Add more logging for better debugging purpose.
2016-05-31 23:31:03 -07:00
Anthony Romano
fc06dd1452
Merge pull request #5480 from heyitsanthony/fix-migrate-nov2
...
etcdctl: improve error message on migration without v2 keys
2016-05-31 15:18:56 -07:00
Xiang Li
2d4c7d6886
Merge pull request #5506 from xiang90/r_rafthttp
...
rafthttp: simplify streamReader initilization
2016-05-31 15:00:52 -07:00
Anthony Romano
51551abef5
concurrency, benchmark: read-committed STM isolation policy
2016-05-31 14:35:27 -07:00
Anthony Romano
f34a9350c3
benchmark: benchmark stm workload with distributed mutex
2016-05-31 14:35:27 -07:00
Anthony Romano
bb2a3ea8d8
benchmark: respect stm isolation mode flag
2016-05-31 14:35:27 -07:00
Anthony Romano
7709cd84bb
Merge pull request #5505 from heyitsanthony/v3rpc-watcher-close
...
v3rpc: fix race on ctrl channel when watcher stream closes
2016-05-31 14:24:10 -07:00
Gyu-Ho Lee
cc837dfc6d
Merge pull request #5503 from gyuho/fix_clientv3
...
clientv3: handle nil connection after *Client.Close (KV)
2016-05-31 12:38:20 -07:00
Xiang Li
86269ab5bf
rafthttp: simplify streamReader initilization
2016-05-31 12:13:37 -07:00
Gyu-Ho Lee
7b5657cf1a
clientv3: check if KV.Client is closed
...
For https://github.com/coreos/etcd/issues/5495 .
2016-05-31 12:00:19 -07:00
Gyu-Ho Lee
d116c116fe
clientv3: getRemote comment about release
2016-05-31 12:00:19 -07:00
Gyu-Ho Lee
b0d4a0a9bd
integration: skip closed client in Terminate
2016-05-31 12:00:15 -07:00
Gyu-Ho Lee
283318d547
v3rpc: add ErrConnClosed for closed client
...
For https://github.com/coreos/etcd/issues/5495 .
2016-05-31 11:15:01 -07:00
Anthony Romano
09e8f5782e
v3rpc: fix race on closing watcher stream ctrl channel
...
Sometimes close would race with the recvLoop, leading the
recvLoop to write to a close channel.
2016-05-31 11:07:31 -07:00
Anthony Romano
41d3cea9b3
integration: test closing stream while creating watchers
2016-05-31 11:02:15 -07:00
Anthony Romano
310ebdd3e1
Merge pull request #5498 from heyitsanthony/wal-tmpfile-fixes
...
wal: improve tmp file handling
2016-05-31 11:01:29 -07:00
Xiang Li
e39f436728
Merge pull request #5494 from xiang90/refactor_rafthttp
...
rafthttp: remove the newPipeline func
2016-05-31 09:35:47 -07:00
Xiang Li
eb9b281741
Merge pull request #5502 from jonboulle/master
...
MAINTAINERS: remove extraneous space
2016-05-31 07:07:10 -07:00
Anthony Romano
05cc3c3dbb
wal: limit number of tmp file names
...
This fixes a space leak if the etcd server is restarted in shorter and shorter
intervals causing the tmp files to stack up.
2016-05-31 06:25:23 -07:00
Anthony Romano
71a9d6fc8b
wal: don't warn when opening wal directory with stale tmp files
2016-05-31 06:25:23 -07:00
Anthony Romano
6686833e51
e2e: check for empty string as etcdctl backup result
...
Was checking for an ignored wal file warning. Added support for
TMPDIR since repeated runs were failing on left over test data.
2016-05-31 06:25:23 -07:00
Jonathan Boulle
ad95ceea2f
MAINTAINERS: remove extraneous space
2016-05-31 12:11:53 +02:00
Xiang Li
6f8cc58214
Merge pull request #5490 from mitake/errcode
...
etcdserver, auth: not return grpc error code directly in the apply phase
2016-05-30 22:00:54 -07:00
Xiang Li
cc2e0fad3e
Merge pull request #5497 from purpleidea/feat/doc-clarify
...
docs: fix ordering of sentence so it's logical and more clear
2016-05-30 21:52:04 -07:00
Anthony Romano
2cd3a3bd59
etcdctl: improve error message on migration without v2 keys
...
Fixes #5478
2016-05-30 19:14:04 -07:00
Anthony Romano
9c767cbf98
Merge pull request #5464 from heyitsanthony/fix-victim-watchers
...
mvcc: tighten up watcher cancelation and revision handling
2016-05-30 20:09:39 -06:00
James Shubin
4aab13ac06
docs: fix ordering of sentence so it's logical and more clear
2016-05-30 22:07:31 -04:00
Hitoshi Mitake
5144318af0
etcdserver, auth: not return grpc error code directly in the apply phase
...
Current permission checking mechanism doesn't return its error code
well. The internal error (code = 13) is returned to client and the
retry mechanism doesn't work well. This commit fixes the problem.
2016-05-31 11:04:34 +09:00
Xiang Li
ba68d7bbe6
rafthttp: make newRemote simpler
2016-05-30 16:24:26 -07:00
Xiang Li
efe0ee7e59
rafthttp: remove the newPipeline func
...
Using struct to initialize pipeline is better when we have many
fields to file in.
2016-05-30 16:19:50 -07:00
Xiang Li
815bc5307f
Merge pull request #5489 from linuxcer/master
...
etcdserver: fix typo in server.go
2016-05-30 15:20:02 -07:00
Chengfei Zhang
29cc568659
etcdserver: fix typo in server.go
2016-05-31 05:54:30 +08:00
Gyu-Ho Lee
4e5c24fcf9
Merge pull request #5487 from gyuho/mvcc_proto
...
mvcc: delete EXPIRE event type
2016-05-29 18:22:15 -07:00
Gyu-Ho Lee
c43e59338f
etcdctl/ctlv3: remove mvccpb.EXPIRE in mirror cmd
2016-05-29 15:11:29 -07:00
Gyu-Ho Lee
3266c809e4
mvcc: delete EXPIRE event type
...
Addressing https://github.com/coreos/etcd/pull/5484#discussion_r65005236 .
etcd v3 doesn't expire keys. It's either PUT of DELETE.
2016-05-29 14:54:38 -07:00
Xiang Li
84e7fa149e
Merge pull request #5439 from mitake/auth-v3-permcheck
...
do permission check in raft log apply phase
2016-05-28 19:05:31 -07:00
Xiang Li
0184288479
Merge pull request #5419 from xiang90/raft_doc
...
raft: initial readme
2016-05-28 18:38:10 -07:00
Xiang Li
5b2e130f09
raft: initial readme
2016-05-28 18:37:21 -07:00
Gyu-Ho Lee
a86ae1d969
Merge pull request #5483 from gyuho/client_typo
...
clientv3: fix panic message in OpPut
2016-05-28 12:11:56 -07:00
Gyu-Ho Lee
9a0fe2620e
clientv3: fix panic message in OpPut
2016-05-28 11:55:28 -07:00
Hitoshi Mitake
8e821cdc70
*: do permission check in raft log apply phase
...
This commit lets etcdserver check permission during its log applying
phase. With this change, permission checking of operations is
supported.
Currently, put and range are supported. In addition, multi key
permission check of range isn't supported yet.
2016-05-29 00:05:48 +09:00