Documentation/upgrades: highlight client response size limit in previous versions
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.4
parent
e6adc85e9d
commit
2829b97ad3
|
@ -66,7 +66,7 @@ if err == context.DeadlineExceeded {
|
||||||
|
|
||||||
#### Change in maximum request size limits (>=3.2.10)
|
#### Change in maximum request size limits (>=3.2.10)
|
||||||
|
|
||||||
3.2.10 and 3.2.11 allow custom request size limits in server side. >=3.2.12 allows custom request size limits for both server and **client side**.
|
3.2.10 and 3.2.11 allow custom request size limits in server side. >=3.2.12 allows custom request size limits for both server and **client side**. In previous versions(v3.2.10, v3.2.11), client response size was limited to only 4 MiB.
|
||||||
|
|
||||||
Server-side request limits can be configured with `--max-request-bytes` flag:
|
Server-side request limits can be configured with `--max-request-bytes` flag:
|
||||||
|
|
||||||
|
@ -160,12 +160,6 @@ Before and after
|
||||||
+func NewWatchFromWatchClient(wc pb.WatchClient, c *Client) Watcher {
|
+func NewWatchFromWatchClient(wc pb.WatchClient, c *Client) Watcher {
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Change in `--listen-peer-urls` and `--listen-client-urls`
|
|
||||||
|
|
||||||
3.2 now rejects domains names for `--listen-peer-urls` and `--listen-client-urls` (3.1 only prints out warnings), since domain name is invalid for network interface binding. Make sure that those URLs are properly formated as `scheme://IP:port`.
|
|
||||||
|
|
||||||
See [issue #6336](https://github.com/coreos/etcd/issues/6336) for more contexts.
|
|
||||||
|
|
||||||
#### Change in `clientv3.Lease.TimeToLive` API
|
#### Change in `clientv3.Lease.TimeToLive` API
|
||||||
|
|
||||||
Previously, `clientv3.Lease.TimeToLive` API returned `lease.ErrLeaseNotFound` on non-existent lease ID. 3.2 instead returns TTL=-1 in its response and no error (see [#7305](https://github.com/coreos/etcd/pull/7305)).
|
Previously, `clientv3.Lease.TimeToLive` API returned `lease.ErrLeaseNotFound` on non-existent lease ID. 3.2 instead returns TTL=-1 in its response and no error (see [#7305](https://github.com/coreos/etcd/pull/7305)).
|
||||||
|
@ -206,6 +200,12 @@ import clientv3yaml "github.com/coreos/etcd/clientv3/yaml"
|
||||||
clientv3yaml.NewConfig
|
clientv3yaml.NewConfig
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Change in `--listen-peer-urls` and `--listen-client-urls`
|
||||||
|
|
||||||
|
3.2 now rejects domains names for `--listen-peer-urls` and `--listen-client-urls` (3.1 only prints out warnings), since domain name is invalid for network interface binding. Make sure that those URLs are properly formated as `scheme://IP:port`.
|
||||||
|
|
||||||
|
See [issue #6336](https://github.com/coreos/etcd/issues/6336) for more contexts.
|
||||||
|
|
||||||
### Server upgrade checklists
|
### Server upgrade checklists
|
||||||
|
|
||||||
#### Upgrade requirements
|
#### Upgrade requirements
|
||||||
|
|
|
@ -113,7 +113,7 @@ Requests to `/v3alpha` endpoints will redirect to `/v3beta`, and `/v3alpha` will
|
||||||
|
|
||||||
#### Change in maximum request size limits
|
#### Change in maximum request size limits
|
||||||
|
|
||||||
3.3 now allows custom request size limits for both server and **client side**.
|
3.3 now allows custom request size limits for both server and **client side**. In previous versions(v3.2.10, v3.2.11), client response size was limited to only 4 MiB.
|
||||||
|
|
||||||
Server-side request limits can be configured with `--max-request-bytes` flag:
|
Server-side request limits can be configured with `--max-request-bytes` flag:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue