Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1556

Clarify log messages for configuration cache

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.2
    • library
    • None
    • 1
    • SDK24: Lambda + Known Issues

    Description

      When the cache file is not created yet, libcouchbase outputs message on the ERROR log level

      Couldn't open for reading: No such file or directory
      

      This message does not tell what is going on next. In fact, the libcouchbase will just continue to next configuration provider, loads the config, which in turn creates the cache file.

      Another not so obvious error message is

      [cb,EROR] (bc_file L:127 I:1313592241) (cache=/tmp/cb_config_cache) Bucket name is nullptr
      

      Here what libcouchbase means is that it found the configuration cache, but the current lcb_INSTANCE does not have a bucket name associated yet, and it cannot apply the configuration cache.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty