Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Redis disconnect yields unexpected ServiceRunner termination #49

Open
TilBlechschmidt opened this issue Aug 17, 2021 · 0 comments
Open
Labels
Priority: Medium Default priority if nothing else matches Status: Pending Initial issue stage waiting for further evaluation Type: Bug Issues that affect the operation of the software

Comments

@TilBlechschmidt
Copy link
Owner

🐛 Bug description

When the Redis connection is interrupted, the ServiceRunner loop just terminates with an "Ok" status code.

🦶 Reproduction steps

Steps to reproduce the behavior:

  1. Launch the collector locally and connect to a remote redis through kubectl port-forward
  2. Terminate the redis in K8s
  3. Watch as "unexpected EOF" errors are thrown
  4. See error

🎯 Expected behaviour

It should log the error and either try reconnecting or be restarted by jatsl!

📺 Screenshots

 2021-08-17T13:34:57.877Z DEBUG webgrid::harness::redis > unexpected end of file
 2021-08-17T13:34:57.877Z DEBUG webgrid::harness::redis > unexpected end of file
 2021-08-17T13:34:57.885Z ERROR webgrid::library::communication::implementation::redis::queue_provider > Encountered error reading from redis stream unexpected end of file
 2021-08-17T13:34:57.885Z ERROR webgrid::library::communication::implementation::redis::queue_provider > Encountered error reading from redis stream unexpected end of file
 2021-08-17T13:34:57.893Z INFO  jatsl::scheduler                                                       > Finished         ServiceRunner(SchedulingWatcherService)
 2021-08-17T13:34:57.893Z INFO  jatsl::scheduler                                                       > Finished         ServiceRunner(CreationWatcherService)

Context

Version
On the architecture rework branch head 🙂

@TilBlechschmidt TilBlechschmidt added Type: Bug Issues that affect the operation of the software Priority: Medium Default priority if nothing else matches Status: Pending Initial issue stage waiting for further evaluation labels Aug 17, 2021
@TilBlechschmidt TilBlechschmidt self-assigned this Aug 17, 2021
@TilBlechschmidt TilBlechschmidt removed their assignment Dec 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Priority: Medium Default priority if nothing else matches Status: Pending Initial issue stage waiting for further evaluation Type: Bug Issues that affect the operation of the software
Projects
None yet
Development

No branches or pull requests

1 participant