Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

removing event handlers once it is removed from storage. #3256

Merged
merged 3 commits into from
Sep 27, 2022
Merged

removing event handlers once it is removed from storage. #3256

merged 3 commits into from
Sep 27, 2022

Conversation

astelmashenko
Copy link
Contributor

@astelmashenko astelmashenko commented Sep 22, 2022

Pull Request type

  • Bugfix

Changes in this PR

Partially addresses: #3257
When conductor event handlers are removed using DELETE /api/event/<name> it is just removed from storage and observable queues are never stopped.

This fix stops event handlers and deletes them from in-memory the same way as they are added and started

One way to handle changes is set event handler active=false with other changes, wait 60 sec once it is stopped and then set active=true again.

@astelmashenko astelmashenko marked this pull request as draft September 22, 2022 08:48
@apanicker-nflx apanicker-nflx added the type: bug bugs/ bug fixes label Sep 27, 2022
@apanicker-nflx apanicker-nflx merged commit e933335 into Netflix:main Sep 27, 2022
@astelmashenko astelmashenko deleted the bugfix/event-handlers-not-removed branch September 27, 2022 20:14
pmchung pushed a commit to routific/conductor that referenced this pull request Sep 6, 2023
* removing event handlers once it is removed from storage.

* codestyle

* stop listening not active event handlers
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug bugs/ bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants