Uploaded image for project: 'Spymemcached Java Client'
  1. Spymemcached Java Client
  2. SPY-107

logic on checking timeout per operation is incorrect

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      After seeing the IllegalArgumentException in a log, I re-thought through the series of events here.

      This flag on the op is known by user threads and the IO thread. Thus it
      is modified in these two different ways:

      • operation is created and enqueued
      • OperationFuture is returned
      • .get() is called on OF
        *timed out*
      • operation is removed from input queue
      • elapsed time is checked
        *timed out*

        Attachments

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

          Activity

            People

            • Assignee:
              ingenthr Matt Ingenthron
              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