Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7196

moxi doesn't seem to failover on downstream hung

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 1.8.1
    • moxi
    • Security Level: Public
    • None
    • Untriaged

    Description

      just run a couple of nodes, freeze one of the downstreams with a "kill -STOP"
      while running this simple piece of code:

      <?php
       
      ini_set('display_errors', 1);
      error_reporting(-1);
       
      if (! extension_loaded('memcached')) {
          dl('memcached.so');
      }
      $sessionId = $argc > 1 ? $argv[1] : md5(mt_rand());
       
      ini_set('session.save_handler', 'memcached');
      ini_set('session.save_path', 'localhost:11211'); // host:port
       
      session_id($sessionId);
      session_start();
       
      printf("Session %s: %s\n", $sessionId, var_export($_SESSION, true));
       
      $_SESSION['timestamp'] = time();
      

      it will randomly fail

      p.s. initially mentioned at MB-3023

      Attachments

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

        Activity

          People

            drigby Dave Rigby (Inactive)
            zeph Guido Serra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty