Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-197

C++ client failover does not work consistently

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.Final
    • None
    • Core
    • None

    Description

      When a Transport object throws a TransportException during an operation, RetryOnFailureOperation::execute calls TcpTransportFactory::invalidateTransport which in turn calls ConnectionPool::invalidateObject. ConnectionPool::invalidateObject removes the transport from the busy queue, destroys the Transport, and then adds a new Transport to the idle queue. When the new transport is created, it tries to connect to the server socket which fails. This prevents retry attempts and client failover from happening. This is a sporadic failure.

      Attachments

        Activity

          People

            rhn-support-afield Alan Field
            rhn-support-afield Alan Field
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: