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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Async, Configuration
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: