Skip to content

Commit 2b4022a

Browse files
dndxhishamhm
authored andcommitted
docs(changelog) 2.1.2 changelog and 2.1.1 and 2.1.0 bug warnings
Add the 2.1.0 - 2.1.1 upstream recreate bug advisory and add 2.1.2 changelog which contains the fix
1 parent 0a71c0b commit 2b4022a

File tree

1 file changed

+79
-1
lines changed

1 file changed

+79
-1
lines changed

CHANGELOG.md

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Table of Contents
22

33

4+
- [2.1.2](#212)
45
- [2.1.1](#211)
56
- [2.1.0](#210)
67
- [2.0.5](#205)
@@ -46,10 +47,66 @@
4647
- [0.9.9 and prior](#099---20170202)
4748

4849

50+
## [2.1.2]
51+
52+
> Released 2020/08/13
53+
54+
:white_check_mark: **Update (2020/08/13)**: This release fixed a balancer
55+
bug that may cause incorrect request payloads to be sent to unrelated
56+
upstreams during balancer retries, potentially causing responses for
57+
other requests to be returned. Therefore it is **highly recommended**
58+
that Kong users running versions `2.1.0` and `2.1.1` to upgrade to this
59+
version as soon as possible, or apply mitigation from the
60+
[2.1.0](#210) section below.
61+
62+
### Fixes
63+
64+
##### Core
65+
66+
- Fix a bug that balancer retries causes incorrect requests to be sent to
67+
subsequent upstream connections of unrelated requests.
68+
[#6224](https://github.com/Kong/kong/pull/6224)
69+
- Fix an issue where plugins iterator was being built before setting the
70+
default workspace id, therefore indexing the plugins under the wrong workspace.
71+
[#6206](https://github.com/Kong/kong/pull/6206)
72+
73+
##### Migrations
74+
75+
- Improve reentrancy of Cassandra migrations.
76+
[#6206](https://github.com/Kong/kong/pull/6206)
77+
78+
##### PDK
79+
80+
- Make sure the `kong.response.error` PDK function respects gRPC related
81+
content types.
82+
[#6214](https://github.com/Kong/kong/pull/6214)
83+
84+
4985
## [2.1.1]
5086

5187
> Released 2020/08/05
5288
89+
:red_circle: **Post-release note (as of 2020/08/13)**: A faulty behavior
90+
has been observed with this change. When Kong proxies using the balancer
91+
and a request to one of the upstream `Target` fails, Kong might send the
92+
same request to another healthy `Target` in a different request later,
93+
causing response for the failed request to be returned.
94+
95+
This bug could be mitigated temporarily by disabling upstream keepalive pools.
96+
It can be achieved by either:
97+
98+
1. In `kong.conf`, set `upstream_keepalive_pool_size=0`, or
99+
2. Setting the environment `KONG_UPSTREAM_KEEPALIVE_POOL_SIZE=0` when starting
100+
Kong with the CLI.
101+
102+
Then restart/reload the Kong instance.
103+
104+
Thanks Nham Le (@nhamlh) for reporting it in [#6212](https://github.com/Kong/kong/issues/6212).
105+
106+
:white_check_mark: **Update (2020/08/13)**: A fix to this regression has been
107+
released as part of [2.1.2](#212). See the section of the Changelog related to this
108+
release for more details.
109+
53110
### Dependencies
54111

55112
- Bump [lua-multipart](https://github.com/Kong/lua-multipart) to `0.5.9`.
@@ -70,7 +127,7 @@
70127

71128
##### Admin API
72129

73-
Fix issue where consumed worker memory as reported by the `kong.node.get_memory_stats()` PDK method would be incorrectly reported in kilobytes, rather than bytes, leading to inaccurate values in the `/status` Admin API endpoint (and other users of said PDK method).
130+
- Fix issue where consumed worker memory as reported by the `kong.node.get_memory_stats()` PDK method would be incorrectly reported in kilobytes, rather than bytes, leading to inaccurate values in the `/status` Admin API endpoint (and other users of said PDK method).
74131
[#6170](https://github.com/Kong/kong/pull/6170)
75132

76133
##### Plugins
@@ -88,6 +145,27 @@ Fix issue where consumed worker memory as reported by the `kong.node.get_memory_
88145

89146
> Released 2020/07/16
90147
148+
:red_circle: **Post-release note (as of 2020/08/13)**: A faulty behavior
149+
has been observed with this change. When Kong proxies using the balancer
150+
and a request to one of the upstream `Target` fails, Kong might send the
151+
same request to another healthy `Target` in a different request later,
152+
causing response for the failed request to be returned.
153+
154+
This bug could be mitigated temporarily by disabling upstream keepalive pools.
155+
It can be achieved by either:
156+
157+
1. In `kong.conf`, set `upstream_keepalive_pool_size=0`, or
158+
2. Setting the environment `KONG_UPSTREAM_KEEPALIVE_POOL_SIZE=0` when starting
159+
Kong with the CLI.
160+
161+
Then restart/reload the Kong instance.
162+
163+
Thanks Nham Le (@nhamlh) for reporting it in [#6212](https://github.com/Kong/kong/issues/6212).
164+
165+
:white_check_mark: **Update (2020/08/13)**: A fix to this regression has been
166+
released as part of [2.1.2](#212). See the section of the Changelog related to this
167+
release for more details.
168+
91169
### Distributions
92170

93171
- :gift: Introduce package for Ubuntu 20.04.

0 commit comments

Comments
 (0)