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

CouchbaseClient doesn't timeout, hangs forever

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • None
    • 1.4.3
    • None
    • Security Level: Public
    • 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

            daschl Michael Nitschinger
            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

                PagerDuty