Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2172

When Mongo is down, Hystrix circuit breaker won't open.

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Async, Configuration
    • Labels:
      None

      Hello,
      I'm using Java Driver Rx (v1.2.0) with MongoDB (v3.2.1).
      I'm caching Mongo clients. When the first call to db is made, the client is created and makes the call.
      Then, when Mongo goes down and I try to use this cached client, all subsequent requests are "hanging" (because they're queued in the client). This behaviour causes hystrix command timeout.
      Since it doesn't timeout or throw any exceptions (it just hangs), therefore the circuit breaker won't open.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bszwej Bart?omiej Szwej
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: