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

PendingOp is not changed when index is building

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Major
    • CBAS DP3
    • CBAS DP3
    • analytics
    • None
    • Untriaged
    • Unknown

    Description

      based on test cases: PendingOp should be equal 1 for an index which is currently building but I don't see the progress via PendingOp

      steps:
      1) 1 data + 1 cbas node,1 bucket with 107303 items
      run the following queries without delays
      2) create index idx_city on beer_ds(city:string);
      3) connect bucket beer_sample
      4) SELECT count FROM `beer_ds`
      result:

      {'$1': 0}

      as expected, index is still not running
      5) select * from Metadata.`Index` where DatasetName='beer_ds' and IsPrimary=False

      result: PendingOp=0

      is it a bug? or my scenarios are not able to catch PendingOp=1?

      6) sleep 30 sec
      7) SELECT count FROM `beer_ds`
      result:

      {'$1': 107303}

      https://s3.amazonaws.com/bugdb/jira/MB-25695/2de1151f/172.23.105.194_logs.zip
      https://s3.amazonaws.com/bugdb/jira/MB-25695/2de1151f/172.23.106.88_logs.zip

      Attachments

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

        Activity

          People

            mihir.kamdar Mihir Kamdar (Inactive)
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty