Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-5

Need to handle meter not being present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0-beta
    • None
    • None
    • None

    Description

      The diagnostics ping test fails with a segfault, as the http_command has a null meter pointer. So, lets find all the places where we access it, and guard against that. I'm assuming meter_ is nullptr when metrics are not enabled, and maybe the ruby defaults such that the meter is always enabled?

      Figure it out and fix. For now locally guarding against that in the http_comand.hxx is sufficient to make the tests all pass.

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes