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

ns_server,get_vbucket timeout retrieving ns_config

    XMLWordPrintable

Details

    Description

      Taking a look at the code, it "seems" we should always be able to retrieve the config object within specified default timeout:

      ns_buckets.erl:181
      get_buckets(Config) ->
      ns_config:search_prop(Config, buckets, configs, []).

      Occurs will testing a query to index 2 million docs, and causes web UI to refresh and query to fail:

      Server error during processing: ["web request failed",

      {path,"/pools/default/buckets/default/stats"}

      ,

      {type,exit}

      ,
      {what,
      {timeout,

      {gen_server,call,[ns_config,get]}

      }},
      {trace,
      [

      {diag_handler,diagnosing_timeouts,1}

      ,

      {ns_bucket,get_bucket,1}

      ,

      {ns_bucket,live_bucket_nodes,1}

      ,

      {menelaus_stats,gather_op_stats_body,5}

      ,

      {menelaus_stats,gather_op_stats,3}

      ,

      {menelaus_stats,grab_aggregate_op_stats,3}

      ,

      {menelaus_stats, build_buckets_stats_ops_response,4}

      ,

      {menelaus_stats,handle_buckets_stats,3}

      ]}]

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty