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

[Backport MB-53066 to 7.2.0] system:indexes not showing metadata for collections

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Found by Pierre Regazzoni , cc Donald Haggart 

       

      https://github.com/couchbase/query/blob/master/datastore/system/system_keyspace_indexes.go#L258  add 3 lines in fetchOneCollection() too  same file line 343  (missed as part of MB-49710)

       

      repro:

       

      create index ix1 on default(f1);
      create scope s1 on default;
      create collection c1 on default.s1;
      create index ix2 on default.s1.c1(f2);
      select * from system:indexes;  — metadata missing ix2
       
      

       

      Attachments

        Issue Links

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

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              amit.kulkarni Amit Kulkarni
              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