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

CouchbaseClient doesn't timeout, hangs forever

    XMLWordPrintable

    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

          Show
          daschl Michael Nitschinger added a comment - https://github.com/mbsimonovic/jepsen-couchbase/pull/2
          Hide
          ingenthr Matt Ingenthron added a comment -

          Milan: would be great if you could update your blog with a paragraph or so at the top clarifying that it did work so people don't have to read into the comments to find that it was a problem with the test.

          Show
          ingenthr Matt Ingenthron added a comment - Milan: would be great if you could update your blog with a paragraph or so at the top clarifying that it did work so people don't have to read into the comments to find that it was a problem with the test.
          Hide
          milansimonovic Milan Simonovic added a comment -

          Sure, as soon as I get back from holidays (next we latest). Ps the tracker is major pain in the a** to use on a smartphone..

          Show
          milansimonovic Milan Simonovic added a comment - Sure, as soon as I get back from holidays (next we latest). Ps the tracker is major pain in the a** to use on a smartphone..
          Hide
          milansimonovic Milan Simonovic added a comment -

          updated, feel free to close the issue

          Show
          milansimonovic Milan Simonovic added a comment - updated, feel free to close the issue
          Hide
          daschl Michael Nitschinger added a comment -

          Not an issue.

          Show
          daschl Michael Nitschinger added a comment - Not an issue.

            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