Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-500

CouchbaseClient doesn't timeout, hangs forever

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.3
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      On a single node cluster:

      1. open CouchbaseClient with opTimeout = 10sec (on a different machine)
      2. write 50 docs (works fine)
      3. make the server drop packets for 15sec (iptables -A INPUT -p tcp --dport 200:65535 -j DROP)
      4. try to write another doc -> blocks forever

      I've tried different timeout values: opTimeout =2.5sec, dropping packets for 5sec, but it also never times-out.

      The code to reproduce this issue is here: https://github.com/mbsimonovic/jepsen-couchbase.
      A more detailed explanation in my blog post: http://milansimonovic.com/2014/07/22/smashing-couchbase/

        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:
              milansimonovic Milan Simonovic
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes