Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-97

Stats call doesn't handle I/O error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • backlog-1.0
    • 1.1.6
    • library
    • None
    • Couchbase Client 1.1.6, server 1.8.0 build 55

    Description

      Repeat as follows:

      • Call to MemcachedClient.Stats(type)
      • This builds a StatsOperation for each node and asynchronously performs MemcachedNode.Execute(cmd)
      • An I/O error occurs, so StatsOperation leaves its member "results" as null and Execute returns false to indicate an error
      • MemcachedClient ignores the returned Boolean value from EndInvoke and puts a null dictionary into its own set of results
      • ServerStats.GetRaw(key) dies trying to select into the missing dictionary

      Plausible fix: check the status from EndInvoke and don't stick anything in the dictionary if there was an error.

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            TimSmith Tim Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty