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.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              daschl Michael Nitschinger
              Reporter:
              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