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

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

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: 1.21.2
    • Component/s: Compass, Indexes
    • None
    • Not Needed

      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. 

       

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

              Created:
              Updated:
              Resolved: