Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-40

View responses are stuck occasionally when performed quickly after another

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • 1.0.1
    • 1.0-beta2, 1.0.0
    • None
    • None

    Description

      Because of a race condition in the view handler, if not much is done with the response and another one is fired into immediately, or under heavy multithreading, responses are stuck.

      After the timeout happens on the sync code, the code keeps going forward. One workaround is to add a small timeout like Thread.sleep(100). Always make sure to have a timeout applied for async code.

      Attachments

        Issue Links

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

          Activity

            People

              daschl Michael Nitschinger
              daschl Michael Nitschinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty