Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-412

add health check function into lcb check

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.3
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC, SDK2: Log Red, Tracing I

      Description

      There are some situations where an end user does not control the entire network and they want a way to check the health of connectivity.  This is sometimes also used to keep connections alive in environments where they'll be shut down.  This is particularly needed with PHP where we cannot run threads or any IO outside PHP's context, but it's needed elsewhere too.

      Request here is to add a health_check() function that calls the underlying lcb function and delivers results to the application.  The intended usage would be for a developer, in some environments, to have their infrastructure monitoring to call this function on one or all app servers, which would then report back to the monitoring.  

      See CCBC-801 for further info.

        Attachments

          Issue Links

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

            Activity

            Hide
            Ellis.Breen Ellis Breen added a comment -

            Awaiting CCBC-801 resolution

            Show
            Ellis.Breen Ellis Breen added a comment - Awaiting CCBC-801 resolution
            Hide
            Ellis.Breen Ellis Breen added a comment -

            Agreed with Matt to put in an uncommitted change providing the existing libcouchbase health check functionality, in the knowledge that this will likely change given the differences with the current RFC spec - https://docs.google.com/document/d/1lnoYAFXSsXFfkRmH7UeTvaf5I1oGF2mPYUHnCbDQ8k4/edit?usp=sharing

            Show
            Ellis.Breen Ellis Breen added a comment - Agreed with Matt to put in an uncommitted change providing the existing libcouchbase health check functionality, in the knowledge that this will likely change given the differences with the current RFC spec -  https://docs.google.com/document/d/1lnoYAFXSsXFfkRmH7UeTvaf5I1oGF2mPYUHnCbDQ8k4/edit?usp=sharing
            Hide
            Ellis.Breen Ellis Breen added a comment -

            Reopened in order to update with Healthcheck API/RFC changes.

            Show
            Ellis.Breen Ellis Breen added a comment - Reopened in order to update with Healthcheck API/RFC changes.
            Hide
            Ellis.Breen Ellis Breen added a comment -

            Changes tested and submitted, but awaiting Jenkins Windows Builder reinstatement to pass verification - see https://issues.couchbase.com/browse/CBIT-10268

            Show
            Ellis.Breen Ellis Breen added a comment - Changes tested and submitted, but awaiting Jenkins Windows Builder reinstatement to pass verification - see  https://issues.couchbase.com/browse/CBIT-10268

              People

              • Assignee:
                Ellis.Breen Ellis Breen
                Reporter:
                ingenthr Matt Ingenthron
              • 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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.