Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps) bump worker events and healthchecks #6361

Closed
wants to merge 6 commits into from

Conversation

bungle
Copy link
Member

@bungle bungle commented Sep 17, 2020

Summary

resty.worker.events 2.0.1, 28-June-2021

  • fix: possible deadlock in the 'init phase

resty.worker.events 2.0.0, 16-September-2020

  • BREAKING: the post function does not call poll anymore, making all events asynchronous. When an immediate treatment to an event is needed an explicit call to poll must be done.
  • BREAKING: the post_local function does not immediately execute the event anymore, making all local events asynchronous. When an immediate treatment to an event is needed an explicit call to poll must be done.
  • fix: prevent spinning at 100% CPU when during a reload the event-shm is cleared
  • fix: improved logging in case of failure to write to shm (add payload size for troubleshooting purposes)
  • fix: do not log the payload anymore, since it might expose sensitive data through the logs
  • change: updated shm_retries default to 999
  • change: changed timer loop to a sleep-loop (performance)
  • fix: when re-configuring make sure callbacks table is initialized

@bungle bungle changed the title @bungle chore(deps) bump resty.worker-events from 1.0.0 to 2.0.0 chore(deps) bump resty.worker-events from 1.0.0 to 2.0.0 Sep 17, 2020
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch 8 times, most recently from 8dfd7e2 to 082edf8 Compare September 17, 2020 15:12
@bungle bungle closed this Sep 18, 2020
@bungle bungle deleted the chore/bump-resty-worker-events-2.0.0 branch September 18, 2020 09:45
@bungle bungle restored the chore/bump-resty-worker-events-2.0.0 branch September 18, 2020 11:40
@bungle bungle reopened this Sep 18, 2020
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch 6 times, most recently from 4f56eb8 to 2abe765 Compare September 22, 2020 14:40
@bungle bungle changed the title chore(deps) bump resty.worker-events from 1.0.0 to 2.0.0 chore(deps) bump resty.worker.events and resty.healthcheck Sep 22, 2020
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch 5 times, most recently from 2f59a55 to 3d92ec7 Compare September 30, 2020 08:43
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch from 3d92ec7 to ee5f98d Compare October 6, 2020 12:01
@bungle bungle added this to the 2.3.0 milestone Oct 6, 2020
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch 2 times, most recently from 49f60c3 to c672bbd Compare November 6, 2020 08:33
@bungle bungle changed the title chore(deps) bump resty.worker.events, resty.healthcheck, and dns-client chore(deps) bump resty.worker.events, resty.healthcheck, resty.dns.client Nov 6, 2020
@bungle bungle changed the title chore(deps) bump resty.worker.events, resty.healthcheck, resty.dns.client chore(deps) bump worker.events, healthcheck, dns.client Nov 6, 2020
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch 3 times, most recently from 8b70e84 to e516197 Compare December 3, 2020 22:02
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch from e516197 to 50569aa Compare December 10, 2020 17:16
@bungle bungle changed the title chore(deps) bump worker.events, healthcheck, dns.client chore(deps) bump worker events, health check and dns client libraries Dec 10, 2020
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch 3 times, most recently from 71febbc to ab6575f Compare December 22, 2020 14:31
@bungle bungle changed the base branch from next to fix/shm December 22, 2020 14:31
Base automatically changed from fix/shm to next December 22, 2020 18:16
@bungle bungle removed this from the 2.3.0 milestone Jan 12, 2021
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch from ab6575f to b495949 Compare January 13, 2021 20:00
@bungle bungle changed the title chore(deps) bump worker events, health check and dns client libraries chore(deps) bump worker events and health check Feb 2, 2021
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch from 838886a to ce8e13c Compare February 2, 2021 19:06
@gszr gszr changed the base branch from next to master April 15, 2021 18:18
@bungle bungle changed the title chore(deps) bump worker events and health check chore(deps) bump worker events Jun 28, 2021
### Summary

* BREAKING: fallback for deprecated top-level field `type` is now removed
  (deprecated since `0.5.0`) [#56](Kong/lua-resty-healthcheck#56)
* BREAKING: Bump `lua-resty-worker-events` dependency to `2.0.0`. This makes
  a lot of the APIs in this library asynchronous as the worker events `post`
  and `post_local` won't anymore call `poll` on a running worker automatically,
  for more information, see:
  https://github.com/Kong/lua-resty-worker-events#200-16-september-2020
* BREAKING: tcp_failures can no longer be 0 on http(s) checks (unless http(s)_failures
  are also set to 0) [#55](Kong/lua-resty-healthcheck#55)
* feature: Added support for https_sni [#49](Kong/lua-resty-healthcheck#49)
* fix: properly log line numbers by using tail calls [#29](Kong/lua-resty-healthcheck#29)
* fix: when not providing a hostname, use IP [#48](Kong/lua-resty-healthcheck#48)
* fix: makefile; make install
* feature: added a status version field [#54](Kong/lua-resty-healthcheck#54)
* feature: add headers for probe request [#54](Kong/lua-resty-healthcheck#54)
* fix: exit early when reloading during a probe [#47](Kong/lua-resty-healthcheck#47)
* fix: prevent target-list from being nil, due to async behaviour [#44](Kong/lua-resty-healthcheck#44)
* fix: replace timer and node-wide locks with resty-timer, to prevent interval
  skips [#59](Kong/lua-resty-healthcheck#59)
* change: added additional logging on posting events [#25](Kong/lua-resty-healthcheck#25)
* fix: do not run out of timers during init/init_worker when adding a vast
  amount of targets [#57](Kong/lua-resty-healthcheck#57)
* fix: do not call on the module table, but use a method for locks. Also in
  [#57](Kong/lua-resty-healthcheck#57)
### Summary

#### 2.0.0, 16-September-2020

- BREAKING: the `post` function does not call `poll` anymore, making all events
  asynchronous. When an immediate treatment to an event is needed an explicit
  call to `poll` must be done.
- BREAKING: the `post_local` function does not immediately execute the
  event anymore, making all local events asynchronous. When an immediate
  treatment to an event is needed an explicit call to `poll` must be done.
- fix: prevent spinning at 100% CPU when during a reload the event-shm is
  cleared
- fix: improved logging in case of failure to write to shm (add payload size
  for troubleshooting purposes)
- fix: do not log the payload anymore, since it might expose sensitive data
  through the logs
- change: updated `shm_retries` default to 999
- change: changed timer loop to a sleep-loop (performance)
- fix: when re-configuring make sure callbacks table is initialized
@bungle bungle force-pushed the chore/bump-resty-worker-events-2.0.0 branch from ce8e13c to 1a1cd5f Compare June 28, 2021 16:24
@bungle bungle changed the title chore(deps) bump worker events chore(deps) bump worker events and healthchecks Jun 28, 2021
@bungle bungle closed this Mar 21, 2022
@bungle bungle deleted the chore/bump-resty-worker-events-2.0.0 branch March 21, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant