Benjamin Wang
73c714bf3d
Merge pull request #14196 from Elbehery/use-derive-insteadof-increase
...
fix:etcd-mixin:use-predictlinear-insteadof-increase
2022-07-14 06:20:37 +08:00
Benjamin Wang
16c10d6910
Merge pull request #14203 from Jille/patch-1
...
clientv3: Fix parsing of ETCD_CLIENT_DEBUG
2022-07-14 05:54:04 +08:00
Jille Timmermans
ac3f913dad
Improve error message for incorrect values of ETCD_CLIENT_DEBUG
...
Signed-off-by: Jille Timmermans <jille@quis.cx>
2022-07-13 18:55:51 +02:00
Piotr Tabor
dae7838c44
Merge pull request #14201 from lishaokai1995/main
...
Fix syntax errors in comments
2022-07-13 16:33:01 +02:00
Benjamin Wang
53bfdc11d8
Merge pull request #14220 from ahrtr/changelog_maxstream
...
Update both 3.5 and 3.6 changelog to cover the new flag `--max-concurrent-streams`
2022-07-13 17:16:19 +08:00
Benjamin Wang
575a901c08
update both 3.5 and 3.6 changelog to cover the new flag --max-concurrent-streams
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-13 14:58:29 +08:00
Marek Siarkowicz
6c5dfcf140
Merge pull request #14215 from etcd-io/serathius-patch-1
...
Make Benjamin an official v3.4 release manager
2022-07-12 13:37:15 +02:00
Marek Siarkowicz
25ad3cffe8
Make Benjamin an official v3.4 release manager
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-07-12 12:26:09 +02:00
Benjamin Wang
9c4fe12a88
Merge pull request #14169 from ahrtr/http_max_stream_20220628
...
Support configuring `MaxConcurrentStreams` for http2
2022-07-12 17:38:43 +08:00
Benjamin Wang
c72f786750
Merge pull request #14214 from ahrtr/3.4.19_date
...
update v3.4.19 release date
2022-07-12 17:23:45 +08:00
Benjamin Wang
d3a96f3485
update v3.4.19 release date
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-12 16:59:07 +08:00
Marek Siarkowicz
9609a46629
Merge pull request #14207 from ahrtr/dev_guide_local_cluster
...
Update goreman installation command in local_cluster.md
2022-07-11 10:15:08 +02:00
Marek Siarkowicz
12ee494ebc
Merge pull request #14206 from ahrtr/relase_update_travis
...
Update scripts/release.sh to remove message related to travis.yml
2022-07-11 10:14:39 +02:00
Benjamin Wang
39486c4289
update goreman installation command in local_cluster.md
...
`go install` is the recommended way to build and install packages in
module mode. `go get` should be used with the -d flag to adjust the
current module's dependencies without building packages, and use of
`go get` to build and install packages is deprecated. In a future
release, the -d flag will always be enabled.
Refer to https://go.dev/doc/go1.16 .
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-11 13:51:57 +08:00
Benjamin Wang
7400d6c363
Update scripts/release.sh to remove message related to travis.yml
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-11 10:31:51 +08:00
Jille Timmermans
e3fd58df46
clientv3: Fix parsing of ETCD_CLIENT_DEBUG
...
It checked `err == nil` rather than `err != nil`.
Signed-off-by: Jille Timmermans <jille@quis.cx>
2022-07-10 11:21:15 +02:00
Mustafa Elbehery
91f8eb1bd6
fix:etcd-mixin:use-predictLinear-insteadof-increase
...
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2022-07-08 16:16:54 +02:00
Marek Siarkowicz
20bf49c24e
Merge pull request #14202 from ahrtr/changlog_3.4.19
...
Update 3.4 changelog to prepare for the release of 3.4.19
2022-07-08 10:23:52 +02:00
Benjamin Wang
1914e425bf
update 3.4 changelog to prepare for the release of 3.4.19
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-08 14:06:02 +08:00
sky li (李少凯)-浪潮数据
c4e89b4186
Fix syntax errors in comments
...
Signed-off-by: sky li (李少凯)-浪潮数据 <lishaokai1995@126.com>
2022-07-08 09:48:13 +08:00
Benjamin Wang
186c895da8
Merge pull request #14198 from SimFG/heap_top
...
lease: Rename `Poll` to `Peek` in the `LeaseExpiredNotifier`
2022-07-08 04:59:43 +08:00
SimFG
e586dc19df
lease: Rename Poll
to Peek
in the LeaseExpiredNotifier
...
`Poll` means that the elements in the heap will be removed.
And it is more appropriate to use `Peek` to get the top of the heap.
Signed-off-by: SimFG <1142838399@qq.com>
2022-07-07 16:25:26 +08:00
Benjamin Wang
8b6c8b4c96
add unit test for pkg/flags/Uint32FromFlag in uint32_test.go
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-07 04:52:28 +08:00
Benjamin Wang
1a6fe4dbc6
update the comment for MaxConcurrentStreams to clearly state it's the max value for each client.
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-07 04:51:20 +08:00
Benjamin Wang
f40b676701
add e2e test cases to cover the maxConcurrentStreams
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-06 03:43:46 +08:00
Benjamin Wang
053ba95ed5
set max concurrent streams to the http2 server
...
The default max stream is 250 in http2. When there are more then
250 streams, the client side may be blocked until some previous
streams are released. So we need to support configuring a larger
`MaxConcurrentStreams`.
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-06 03:43:46 +08:00
Benjamin Wang
d8347ec683
add & refine the uint32Value data type
...
The golang buildin package `flag` doesn't support `uint32` data
type, so we need to support it via the `flag.Var`.
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-06 03:43:46 +08:00
杨金珏
6220174687
support custom grpc.MaxConcurrentStreams
...
There is no update on the original PR (see below) for more then 2
weeks. So Benjamin(@ahrtr) continues to work on the PR. The first
step is to rebase the PR, because there are lots of conflicts with
the main branch.
The change to go.mod and go.sum reverted, because they are not needed.
The e2e test cases are also reverted, because they are not correct.
```
https://github.com/etcd-io/etcd/pull/14081
```
Signed-off-by: nic-chen <chenjunxu6@gmail.com>
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-06 03:43:46 +08:00
Marek Siarkowicz
248f072370
Merge pull request #14194 from ahrtr/update_etcdctl_typo
...
Fix a typo in etcdctl readme for the elect command
2022-07-05 14:55:41 +02:00
Benjamin Wang
231bee6fe2
fix a typo in etcdctl readme for the elect command
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-05 16:03:45 +08:00
Benjamin Wang
07d620822f
Merge pull request #14173 from SimFG/ctl_err
...
ectdctl: Add the `SilenceErrors` config For the `cobra.Command`
2022-07-05 06:10:11 +08:00
Benjamin Wang
960d4c2dce
Merge pull request #14154 from ahrtr/3.4_changelog_lease_revoke_20220624
...
Update 3.4 change log to cover fixes for two issues
2022-07-05 06:09:38 +08:00
Piotr Tabor
1749a07a20
Merge pull request #14172 from SimFG/snap_log
...
snap: Delete the nil judgment of the log object
2022-07-04 23:57:15 +02:00
SimFG
66f15f8efb
ectdctl: Handle the repeat error message when the unknown command error occurs
...
Avoid repeated printing of error messages.
Signed-off-by: SimFG <1142838399@qq.com>
2022-07-04 11:02:08 +08:00
Benjamin Wang
33347b6845
Merge pull request #13954 from mitake/perm-cache-lock
...
server/auth: protect rangePermCache with a mutex
2022-07-03 07:01:46 +08:00
Hitoshi Mitake
de09174a3f
server/auth: protect rangePermCache with a RW lock
...
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
2022-07-02 23:23:13 +09:00
Benjamin Wang
f94af77d4a
Merge pull request #14184 from ahrtr/fix_proxy_test_certificate_20220630
...
Remove duplicate certificate configuration for proxy test
2022-07-01 05:33:50 +08:00
Benjamin Wang
ae9ca48a3f
remove duplicate certificate configuration for proxy test
...
The issue was introduced in the following commit,
093282f5ea
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-06-30 10:26:36 +08:00
Sahdev Zala
2a0e92fac0
Merge pull request #14182 from spzala/isoptswithprefix
...
Client: fix check for WithPrefix op
2022-06-29 19:32:05 -04:00
Sahdev Zala
8637c54bcc
Client: fix check for WithPrefix op
...
Make sure that WithPrefix correctly set the flag, and add test.
Also, add test for WithFromKey.
fixes #14056
Signed-off-by: Sahdev Zala <spzala@us.ibm.com>
2022-06-29 17:52:05 -04:00
SimFG
107b7c06ab
sanp: Delete the nil judgment of the log object
...
Move some methods into the `Snapshotter` object for removing the `lg == nil` judgment
Signed-off-by: SimFG <1142838399@qq.com>
2022-06-28 19:35:33 +08:00
Benjamin Wang
7a1cecd5fa
Merge pull request #14165 from eval-exec/expected-process-stopsignal
...
pkg/expect: send SIGTERM to target expect process instead of SIGKILL for `Stop()`
2022-06-28 12:38:59 +08:00
Benjamin Wang
19f5ff664a
Merge pull request #14166 from chavacava/fix-14162
...
fix #14162
2022-06-27 09:38:33 +08:00
Marek Siarkowicz
815e05d226
Merge pull request #14160 from chavacava/patch-1
...
removes empty option in JSON tag
2022-06-26 18:55:51 +02:00
Marek Siarkowicz
64443f108b
Merge pull request #14157 from SimFG/proxy_pb
...
proxy: Put the pb object into the struct
2022-06-26 18:53:42 +02:00
Marek Siarkowicz
c1da9dd0f0
Merge pull request #14153 from SimFG/verfiy_backend
...
verify: Get backend using simple api
2022-06-26 18:49:44 +02:00
chavacava
756d77663b
removes empty option in JSON tag
...
option can not be empty in JSON tag
Signed-off-by: chavacava <salvadorcavadini+github@gmail.com>
2022-06-26 12:13:20 +02:00
chavacava
f220bfe1e0
fix #14162
...
Signed-off-by: chavacava <salvadorcavadini+github@gmail.com>
2022-06-26 11:44:11 +02:00
Eval EXEC
e2bff7cfe1
pkg/expect: send SIGTERM to target expect process instead of SIGKILL
...
Signed-off-by: Eval EXEC <execvy@gmail.com>
2022-06-26 16:39:30 +08:00
Benjamin Wang
f99c68839f
Merge pull request #14163 from chavacava/fix-14161
...
fix #14161
2022-06-26 12:43:06 +08:00