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

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.3
    • None
    • None
    • 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

            ingenthr Matt Ingenthron created issue -
            ingenthr Matt Ingenthron made changes -
            Field Original Value New Value
            Link This issue depends on CCBC-801 [ CCBC-801 ]
            ingenthr Matt Ingenthron made changes -
            Key PCBC-498 PYCBC-412
            Project Couchbase PHP client library [ 10049 ] Couchbase Python Client Library [ 10050 ]
            ingenthr Matt Ingenthron made changes -
            Assignee Sergey Avseyev [ avsej ] Matt Ingenthron [ ingenthr ]
            Summary CLONE - add health check function into lcb check add health check function into lcb check
            ingenthr Matt Ingenthron made changes -
            Status New [ 10003 ] Open [ 1 ]
            ingenthr Matt Ingenthron made changes -
            Fix Version/s 2.2.7 [ 14600 ]
            mike.goldsmith Michael Goldsmith made changes -
            Fix Version/s 2.3.0 [ 14804 ]
            Fix Version/s 2.2.7 [ 14600 ]
            ingenthr Matt Ingenthron made changes -
            Epic Link CBD-2088 [ 72721 ]
            ingenthr Matt Ingenthron made changes -
            Fix Version/s 2.3.1 [ 14808 ]
            Fix Version/s 2.3.0 [ 14804 ]
            Ellis.Breen Ellis Breen added a comment -

            Awaiting CCBC-801 resolution

            Ellis.Breen Ellis Breen added a comment - Awaiting CCBC-801 resolution
            Ellis.Breen Ellis Breen made changes -
            Assignee Matt Ingenthron [ ingenthr ] Ellis Breen [ ellis.breen ]
            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

            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
            Ellis.Breen Ellis Breen made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ingenthr Matt Ingenthron made changes -
            Sprint SDK 45: IPv6, HC, LRedact [ 482 ]
            ingenthr Matt Ingenthron made changes -
            Rank Ranked higher
            mike.goldsmith Michael Goldsmith made changes -
            Resolution Done [ 6 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            Ellis.Breen Ellis Breen added a comment -

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

            Ellis.Breen Ellis Breen added a comment - Reopened in order to update with Healthcheck API/RFC changes.
            Ellis.Breen Ellis Breen made changes -
            Resolution Done [ 6 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            Ellis.Breen Ellis Breen made changes -
            Status Reopened [ 4 ] In Progress [ 3 ]
            ingenthr Matt Ingenthron made changes -
            Sprint SDK 45: IPv6, HC [ 482 ] SDK 45: IPv6, HC, SDK 47: HC, Serv ID, Log Red [ 482, 506 ]
            ingenthr Matt Ingenthron made changes -
            Rank Ranked higher
            ingenthr Matt Ingenthron made changes -
            Sprint SDK 45: IPv6, HC, SDK 47: HC, Log Redact [ 482, 506 ] SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK 49: HC, Log Reda, CertAuth [ 482, 506, 510 ]
            Ellis.Breen Ellis Breen made changes -
            Fix Version/s 2.3.3 [ 15034 ]
            Fix Version/s 2.3.1 [ 14808 ]
            ingenthr Matt Ingenthron made changes -
            Sprint SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth [ 482, 506, 510 ] SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC [ 482, 506, 510, 511 ]
            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

            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
            ingenthr Matt Ingenthron made changes -
            Sprint SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC [ 482, 506, 510, 511 ] SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC, SDK2: Log Red,Compression [ 482, 506, 510, 511, 535 ]
            Ellis.Breen Ellis Breen made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            ingenthr Matt Ingenthron made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 16175 ]

            People

              Ellis.Breen Ellis Breen
              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