Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-51902

Query Service does not log a clear indication on start up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Morpheus
    • 7.1.0
    • query
    • None
    • Neo RC4
      Single node cluster with Data, Index and Query
    • Untriaged
    • 1
    • Unknown

    Description

      Problem
      The query service does not log any useful information on startup, the only indication it has started is:

      2022-04-21T16:04:22.121+00:00 [INFO] Current nofiles rlimit: 200000 (max: 200000)
      2022-04-21T16:04:22.125+00:00 [INFO] Initialization of cbauth succeeded
      2022-04-21T16:04:22.128+00:00 [Info] Recieve security change notification. encryption=false
      2022-04-21T16:04:22.128+00:00 [Warn] certifcate location is missing.  Cannot refresh certifcate
      2022-04-21T16:04:22.128+00:00 [INFO] New store created with url http://127.0.0.1:8091
      2022-04-21T16:04:22.132+00:00 [INFO] keyspace N1QL_SYSTEM_BUCKET not found No bucket named N1QL_SYSTEM_BUCKET
      2022-04-21T16:04:22.134+00:00 [INFO] Retrying bucket N1QL_SYSTEM_BUCKET
      2022-04-21T16:04:22.136+00:00 [WARN] Changing GC percent from 0 to 200
      

      The log file on configuration information is nice!

      2022-04-21T16:04:22.137+00:00 [INFO] New settings received: {"timeout":0,"numatrs":1024,"n1ql-feat-ctrl":76,"max-parallelism":1,"query.settings.curl_whitelist":{"all_access":false,"allowed_urls":[],"disallowed_urls":[]},"query.settings.tmp_space_dir":"/opt/couchbase/var/lib/couchbase/tmp","completed-limit":4000,"pipeline-batch":16,"prepared-limit":16384,"pipeline-cap":512,"memory-quota":0,"cleanupwindow":"60s","use-cbo":true,"scan-cap":512,"query.settings.tmp_space_size":5120,"completed-threshold":1000,"loglevel":"info","cleanuplostattempts":true,"cleanupclientattempts":true,"txtimeout":"0ms"}
      

      This is what the Data Service does on start up:

      2022-04-21T15:42:41.665017+00:00 INFO Couchbase version 7.1.0-2549 starting.
      2022-04-21T15:42:41.665058+00:00 INFO Process identifier: 5596
      2022-04-21T15:42:41.665100+00:00 INFO recalculate_max_connections: {"engine_fds":133982,"max_connections":65000,"max_fds":200000,"system_connections":5000}
      2022-04-21T15:42:41.665210+00:00 INFO Breakpad enabled. Minidumps will be written to '/opt/couchbase/var/lib/couchbase/crash'
      2022-04-21T15:42:41.665291+00:00 INFO Fine clock overhead: 33ns
      2022-04-21T15:42:41.665303+00:00 INFO Coarse clock overhead: 11ns)
      2022-04-21T15:42:41.665305+00:00 INFO (Clock measurement period: 1ns)
      2022-04-21T15:42:41.665638+00:00 INFO Using SLA configuration: {"COMPACT_DB":{"slow":"1800 s"},"CREATE_BUCKET":{"slow":"5 s"},"DELETE_BUCKET":{"slow":"10 s"},"SELECT_BUCKET":{"slow":"10 ms"},"SEQNO_PERSISTENCE":{"slow":"30 s"},"comment":"Current MCBP SLA configuration","default":{"slow":"500 ms"},"version":1}
      2022-04-21T15:42:41.665642+00:00 INFO Enable standard input listener
      2022-04-21T15:42:41.665698+00:00 INFO NUMA: Set memory allocation policy to 'interleave'
      2022-04-21T15:42:41.665703+00:00 INFO Loading RBAC configuration from [/opt/couchbase/var/lib/couchbase/config/memcached.rbac]
      2022-04-21T15:42:41.665782+00:00 INFO Loading error maps from [/opt/couchbase/etc/couchbase/kv/error_maps]
      2022-04-21T15:42:41.667353+00:00 INFO Prometheus Exporter started, listening on family:inet port:11280
      2022-04-21T15:42:41.667358+00:00 INFO Starting external authentication manager
      

      The 1st line makes it very clear that the Service has been started.

      Expectation
      For Query service to log a clear indicator of when it started and ideally what version (extremely useful for upgrades)

      Steps To reproduce
      Install RC4
      Configure a single node cluster

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-51902
          # Subject Branch Project Status CR V

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              pvarley Patrick Varley (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