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

[FTS] Logging: Log rest calls for create/edit/delete index in fts.log

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • cbft
    • None
    • Untriaged
    • Unknown

    Description

      Build
      4.5.0-1775

      Currently there's no clear indication in log about an index creation/updation or deletion.
      Say in the following case where my test log says index was created at 15:59:29. All I see in fts.log-

      2016-03-11T15:59:29.025-08:00 [INFO] cfg_metakv: Set, key: indexDefs, cas: 1, split: %!t(<nil>), nodeUUID: a844e2e612777c04fbb3605b1945b1f1
      2016-03-11T15:59:29.025-08:00 [INFO] cfg_metakv: Set path: /fts/cbgt/cfg/indexDefs
      2016-03-11T15:59:29.028-08:00 [INFO] cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/indexDefs, key: indexDefs, deletion: false
      2016-03-11T15:59:29.028-08:00 [INFO] ctl: kickIndexDefs, kind: cfgEvent
      2016-03-11T15:59:29.032-08:00 [INFO] planner: nodesRemove: []string(nil)
      2016-03-11T15:59:29.032-08:00 [INFO] planner: step planner2016-03-11T15:59:29.128-08:00 [INFO] cfg_metakv: Set, key: planPIndexes, cas: 1, split: %!t(<nil>), nodeUUID: a844e2e612777c04fbb3605b1945b1f1
      2016-03-11T15:59:29.128-08:00 [INFO] cfg_metakv: Set path: /fts/cbgt/cfg/planPIndexes2016-03-11T15:59:29.151-08:00 [INFO] cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/planPIndexes, key: planPIndexes, deletion: false
      2016-03-11T15:59:29.167-08:00 [INFO] ctl/manager, GetCurrenTopology, haveTopologyRev: 5, changed, rv: &service.Topology{Rev:service.Revision{0x36}, Nodes:[]service.NodeID{"a844e2e612777c04fbb3605b1945b1f1"}, IsBalanced:false, Messages:[]string(nil)}
      2016-03-11T15:59:42.167-08:00 [INFO] rest: error code: 500, msg: rest_index: Count, indexName: default_index, err: bleve: CountBlevePIndexImpl indexAlias error, indexName: default_index, indexUUID: , err: bleve: bleveIndexTargets, err: pindex: queries may have been disabled; no nodes are enabled/allocated to serve queries for the index partition(s)
      

      I can't understand whether index was successfully created or why I'm seeing the above error.

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty