Uploaded image for project: 'Spymemcached Java Client'
  1. Spymemcached Java Client
  2. SPY-147

Method connectionLost from ConnectionObserver Method is called when the node is risen, and not when down.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • library
    • Security Level: Public
    • None
    • Red Hat Enterprise Linux Server release 6.3 (Santiago)

    Description

      I use following code:

      client.addObserver(new ConnectionObserver() {
      @Override
      public void connectionEstablished(SocketAddress sa,
      int reconnectCount)

      { logger.debug("EST"); }

      @Override
      public void connectionLost(SocketAddress sa)

      { logger.debug("LOST"); }

      });

      I'm studying the following scenario: shutting down node(power off on virtual machine). After that, I power on the machine and waiting for Couchbase node recovery. I see that connectionLost is called only when I power on machine, but not when node is really down.

      Interesting, but when I'm run absolutely the same program on Windows 7 connectionLost is called after a few seconds after node is down.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            daschl Michael Nitschinger
            vakoroteev Vladislav Koroteev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty