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

system:indexes for view indexes show "online" status, even when the indexes are still under 5 percent built.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 4.0.0
    • 4.0.0
    • None
    • Security Level: Public
    • 350-1335-rel
      centos
    • Triaged
    • Unknown

    Description

      I see this often while running larger datasets ( 10 M+) items.

      1. create index ( view)
      2. above create index stmt appears to hang indefinitely.
      3. open another cbq- select * from system:indexes : the index is online ( within a few seconds)
      4. Queries on this index dont always return expected results ** reported on a previus bug.

      5. issue a get_tasks() call to check status of index building, it shows progress- 2 or 3%

      [root@centos-64-x64 logs]# curl -X POST -u Administrator:password http://127.0.0.1:8091/diag/eval -d 'ns_couchdb_api:get_tasks().'
      [[

      {pid,<<"<0.155.0>">>}

      ,

      {limit,4}

      ,

      {running,4}

      ,
      ....
      ...

      {design_documents,[<<"_design/ddl_idx_st">>]}

      ,

      {indexer_type,main}

      ,

      {initial_build,true}

      ,

      {progress,1}

      ,

      {set,<<"default">>}

      ,

      {signature,<<"f87fb1092dcb7d613a7441be0893a700">>}

      ,

      {started_on,1425078960}

      ,

      {total_changes,46079250}

      ,

      {type,indexer}

      ,

      Attachments

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

        Activity

          People

            keshav Keshav Murthy
            ketaki Ketaki Gangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty