Anthony Romano
ace1760628
Merge pull request #8028 from heyitsanthony/govet-more
...
test: speedup and strengthen go vet checking
2017-06-03 22:29:49 -07:00
Anthony Romano
887db5a3db
*: fix go tool vet -all -shadow errors
2017-06-03 21:32:36 -07:00
Anthony Romano
9b33aa1967
test: speedup and strengthen go vet checking
...
Was iterating over every file, reloading everything. Instead,
analyze the package directories. On my machine, the time for
vet checking goes from 34s to 3s. Scans more code too.
2017-06-03 21:31:49 -07:00
Anthony Romano
cdb722123a
Merge pull request #8024 from heyitsanthony/fix-swagger
...
scripts, Documentation: fix swagger generation
2017-06-02 11:04:23 -07:00
Anthony Romano
1be245269e
scripts, Documentation: fix swagger generation
...
Changes to the genproto to support splitting out the grpc-gateway broke
swagger generation.
2017-06-02 10:54:05 -07:00
Anthony Romano
97519cf79f
Merge pull request #8023 from heyitsanthony/protodoc-update
...
Documentation, scripts: update RPC API docs
2017-06-02 10:26:12 -07:00
Anthony Romano
156612bb25
Documentation, scripts: regen RPC docs
...
Was missing the new cancel_reason field. Also includes updated protodoc
sha to fix generating documentation for upcoming txn compare range patchset.
2017-06-02 10:15:12 -07:00
Vitaly Isaev
4301f49988
rafthttp: configurable stream reader retry timeout
...
rafthttp.Transport.DialRetryTimeout field alters the frequency of dial attempts
+ minor changes after code review
2017-06-02 08:53:17 -07:00
Anthony Romano
c578ac4a1a
Merge pull request #8017 from heyitsanthony/doc-gateway-flags
...
op-guide: document configuration flags for gateway
2017-06-01 15:50:46 -07:00
Anthony Romano
1cbc7cc274
op-guide: document configuration flags for gateway
2017-06-01 15:46:12 -07:00
Anthony Romano
f80be42a55
Merge pull request #8012 from heyitsanthony/cov-corruption
...
test: incrementally merge coverage files
2017-06-01 11:51:49 -07:00
Anthony Romano
82153e8840
Merge pull request #8015 from heyitsanthony/fix-ctlv2getrole
...
e2e: make CtlV2GetRoleUser non-quorum
2017-06-01 11:19:24 -07:00
Anthony Romano
e0653043ff
e2e: make CtlV2GetRoleUser non-quorum
...
GetUser doesn't go through quorum, so issuing a user get to any member
of a cluster may fetch stale data from a slow member. Instead, use a
single member cluster for the test.
Fixes #7993
2017-06-01 10:13:47 -07:00
Anthony Romano
0c923bdf11
Merge pull request #8010 from heyitsanthony/json-txn
...
e2e: test txn over grpc json
2017-06-01 10:01:41 -07:00
Anthony Romano
085bea5c5a
Merge pull request #8013 from heyitsanthony/fix-tls-dial
...
clientv3: use Endpoints[0] to initialize grpc creds
2017-06-01 09:45:44 -07:00
Anthony Romano
166ae10ca3
integration: use unixs:// if client port configured for tls
2017-05-31 15:51:48 -07:00
Anthony Romano
ea8561c35c
clientv3: support unixs:// scheme
...
For using TLS without giving a TLSConfig to the client.
2017-05-31 15:51:48 -07:00
Anthony Romano
1b48d6e5df
clientv3/integration: test dialing to TLS without a TLS config times out
...
etcdctl was getting ctx errors from timing out trying to issue RPCs to
a TLS endpoint but without using TLS for transmission. Client should
immediately bail out with a time out error.
2017-05-31 15:51:03 -07:00
Anthony Romano
00e581754b
test: incrementally merge coverage files
...
Don't throw away all coverage data if some profiles are corrupted.
2017-05-31 15:46:35 -07:00
Anthony Romano
8effbda3a7
clientv3: use Endpoints[0] to initialize grpc creds
...
Dialing out without specifying TLS creds but giving https uses some
default behavior that depends on passing an endpoint with https to
Dial(), so it's not enough to completely rely on the balancer to supply
endpoints.
Fixes #8008
Also ctx-izes grpc.Dial
2017-05-31 15:01:11 -07:00
Anthony Romano
d8210da505
v3rpc: treat nil txn request op as error
...
Fixes #7889
2017-05-31 12:39:52 -07:00
Anthony Romano
1467b456ae
dev-guide: add txn json example
2017-05-31 12:08:13 -07:00
Anthony Romano
85095760ff
e2e: test txn over grpc json
2017-05-31 12:08:06 -07:00
Xiang Li
f03ed33c87
Merge pull request #7761 from YuleiXiao/xyl_get_transfer_leader_status
...
return leaderTransferee at raft status
2017-05-31 07:30:49 -07:00
Hitoshi Mitake
7acd43e8bb
Merge pull request #7862 from mitake/benchmark-mvcc-batch
...
benchmark, pkg: a new option of mvcc --batch for enlarging a single txn
2017-05-30 19:50:44 -07:00
Anthony Romano
a20e667c5b
Merge pull request #7967 from heyitsanthony/purge-snapdb
...
etcdserver: purge old snap.db files
2017-05-30 16:15:11 -07:00
Anthony Romano
3748e3cf28
Merge pull request #8006 from heyitsanthony/clientv3-test-nocluster
...
clientv3: do not launch cluster on go test without explicit -run
2017-05-30 15:33:06 -07:00
Anthony Romano
119bca6ce7
Merge pull request #8005 from heyitsanthony/more-vendoring
...
vendor: ghodss/yaml v1.0.0, kr/pty v1.0.0
2017-05-30 14:09:03 -07:00
Anthony Romano
c250e7be9e
clientv3: do not launch cluster on go test without explicit -run
...
There's a workaround by running -run=Test but this periodically
comes up as an issue, so have `go test` only run Test* to stem
the complaints.
Fixes #8000
2017-05-30 12:23:12 -07:00
Anthony Romano
0970fe78a0
vendor: ghodss/yaml v1.0.0
2017-05-30 10:33:27 -07:00
Anthony Romano
5d837e5ab3
vendor: kr/pty v1.0.0
2017-05-30 10:33:25 -07:00
Gyu-Ho Lee
c3879e3776
Merge pull request #8004 from gyuho/doc
...
Documentation: add 'yaml.NewConfig' change in 3.2
2017-05-30 10:13:57 -07:00
Gyu-Ho Lee
84226a722c
Documentation: add 'yaml.NewConfig' change in 3.2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-30 10:02:48 -07:00
Anthony Romano
1de75d2035
Merge pull request #7997 from heyitsanthony/version-go-semver
...
vendor: use v0.2.0 of go-semver
2017-05-30 09:24:54 -07:00
Anthony Romano
ee45c948ac
vendor: use v0.2.0 of go-semver
2017-05-26 16:15:10 -07:00
Anthony Romano
e42d5174ef
Merge pull request #7994 from heyitsanthony/update-perf-doc-3.2
...
op-guide: update performance.md
2017-05-26 15:00:38 -07:00
Anthony Romano
e66a1439db
op-guide: update performance.md
...
It's been a year, time to refresh with 3.2.0 data.
2017-05-26 14:11:40 -07:00
Anthony Romano
6846e49edf
Merge pull request #7859 from heyitsanthony/cache-consistent-get
...
mvcc: cache consistent index
2017-05-26 10:52:53 -07:00
Anthony Romano
3e1eb1a2e7
Merge pull request #7872 from heyitsanthony/break-boltdb-lock-readtx
...
backend: don't hold boltdb read txn lock on cursor scanning
2017-05-26 10:25:33 -07:00
Anthony Romano
ac4855e911
mvcc: benchmark ConsistentIndex
2017-05-26 09:49:40 -07:00
Anthony Romano
73dee0bec4
mvcc: cache consistentIndex
...
Called on every entry apply and boltdb requests aren't free.
2017-05-26 09:49:40 -07:00
Anthony Romano
0506f49f9e
backend: don't hold boltdb read txn lock on cursor scanning
...
Large fetches hold the lock when they do not need to do so.
2017-05-26 09:28:08 -07:00
Anthony Romano
343a018361
Merge pull request #7900 from heyitsanthony/chunk-restore
...
mvcc: chunk reads for restoring
2017-05-26 09:21:59 -07:00
Anthony Romano
57de98f132
Merge pull request #7991 from heyitsanthony/faq-space-exceeded
...
Documentation: add FAQ entry for "database space exceeded" errors
2017-05-26 09:10:34 -07:00
Hitoshi Mitake
99366c6b42
benchmark: a new option of mvcc --txn-ops for enlarging a single txn
...
This commit adds a new option --txn-ops to `benchmark mvcc put`. A
number specified with this option will be used as a number of written
keys in a single transaction. It will be useful for checking the
effect of the batching.
2017-05-26 11:10:24 +09:00
Anthony Romano
384a84ceee
Merge pull request #7990 from heyitsanthony/fix-cov-authfromkeyperm
...
etcdctl, e2e: use 0xe7cd as argument separator in cov-enabled etcdctl
2017-05-25 18:22:36 -07:00
Anthony Romano
dac2c10ce9
etcdctl, e2e: use 0xe7cd as argument separator in cov-enabled etcdctl
...
Fixes #7980
2017-05-25 16:11:52 -07:00
Anthony Romano
9b6c8d216f
Documentation: add FAQ entry for "database space exceeded" errors
...
Also moves miscategorized cluster id mismatch entry from "performance"
to "operation".
2017-05-25 16:08:58 -07:00
fanmin shi
2f84f3d8d8
Merge pull request #7968 from fanminshi/make_maxRequestBytes_configurable
...
etcd: make max request bytes configurable
2017-05-25 15:54:24 -07:00
Anthony Romano
212a1efd47
Merge pull request #7965 from heyitsanthony/shared-grpc-conn
...
embed: share grpc connection for grpc json services
2017-05-25 14:35:33 -07:00