Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-159

incorrect timeout exceptions during required-durability function tests

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Mac OS 10.8
      2.0 build 1971
      1.1.0-dp4-76-g2f51ee9

      Description

      When running the tests with the build mentioned above, I relatively regularly receive timeouts during the sync tests. Given that the host is localhost and there is no active workload (and it's on ssd), these seem to indicate a problem with the implementation of the required-durability functions.

      1. packetdump-PCBC-159_second-time.pcapng
        3.54 MB
        Matt Ingenthron
      2. packetdump-PCBC-159.pcapng
        5.17 MB
        Matt Ingenthron
      3. php_test_results_20121205_0327.txt
        60 kB
        Matt Ingenthron
      4. php_test_results_20121205_0339.txt
        36 kB
        Matt Ingenthron
      5. php_test_results_20121205_0623.txt
        36 kB
        Matt Ingenthron
      6. php_test_results_20121205_0637.txt
        36 kB
        Matt Ingenthron
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Show
        trond Trond Norbye added a comment - http://review.couchbase.org/#/c/23103/1
        Hide
        ingenthr Matt Ingenthron added a comment -

        Have a different failure under the remove scenario here. This isn't a timeout.

        see:
        packetdump-PCBC-159_second-time.pcapng
        php_test_results_20121205_0637.txt

        Show
        ingenthr Matt Ingenthron added a comment - Have a different failure under the remove scenario here. This isn't a timeout. see: packetdump- PCBC-159 _second-time.pcapng php_test_results_20121205_0637.txt
        Hide
        ingenthr Matt Ingenthron added a comment -

        Attached a packet capture showing the same issues. I'm going to reconfigure the server and see if they go away, because I clearly see the polling, but I've not looked to see what's happening with the poll.

        Show
        ingenthr Matt Ingenthron added a comment - Attached a packet capture showing the same issues. I'm going to reconfigure the server and see if they go away, because I clearly see the polling, but I've not looked to see what's happening with the poll.
        Hide
        mnunberg Mark Nunberg added a comment - - edited

        I've seen this issue as well (but initially thought I was just having a slow cluster). I'm willing to bet the issue is in the timeout loop itself rather than in libcouchbase or in somewhere 'deeper', as the other Observe tests pass.

        Additionally, they seem to take very long to complete (patch below does not).

        What's odd is that I've run this through valgrind and it didn't show any particular errors, and the errors are not always reproducible.

        fwiw, this seems to pass the tests

        http://paste.scsys.co.uk/216801

        Show
        mnunberg Mark Nunberg added a comment - - edited I've seen this issue as well (but initially thought I was just having a slow cluster). I'm willing to bet the issue is in the timeout loop itself rather than in libcouchbase or in somewhere 'deeper', as the other Observe tests pass. Additionally, they seem to take very long to complete (patch below does not). What's odd is that I've run this through valgrind and it didn't show any particular errors, and the errors are not always reproducible. fwiw, this seems to pass the tests http://paste.scsys.co.uk/216801
        Hide
        ingenthr Matt Ingenthron added a comment -

        logs showing the timeout exceptions. these don't have much data, but maybe there's something interesting?

        Show
        ingenthr Matt Ingenthron added a comment - logs showing the timeout exceptions. these don't have much data, but maybe there's something interesting?

          People

          • Assignee:
            trond Trond Norbye
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes