Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4377

Listing indexes in MDB Compass throws an error while `db.collection.getIndexes()` works fine

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Minor - P4 Minor - P4
    • No version
    • 1.21.2
    • Compass, Indexes
    • None
    • Not Needed

    Description

      I created a number of indexes using Python's pymongo module. I check the MDB CLI to see the indexes:

      However, when I try to visualize the data in MDB Compass and click on the "Indexes" tab, it says that my namespace does not exist:

      You can also see that the collection information on the top right are all "N/A". 

      I tried refreshing the database by click the top left refresh button. That didn't work.

      The thing that did work was opening the collection in a new tab. Only then did it refresh and list my indexes and show the right collection metadata. 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            vincent.zhen@mongodb.com Vincent Zhen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: