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

Index cards in explain tree are not able to house long index names

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.43.1
    • Affects Version/s: 1.38.2
    • Component/s: Explain, UI / UX
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Not Needed
    • Iteration Dobsonian

      Problem Statement/Rationale

      After doing an explain if one of the indexes being used has a very long name then it does not fit in the index card of the explain tree

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      1. Create an index on a field with sufficiently long name `very_very_very_very_very_long_field_name`
      2. Use that indexed field to write a query `{ very_very_very_very_very_long_field_name: "Compass" }`
      3. Run the explain

      Expected Results

      Index name fits just fine in the index card in explain tree.

      Actual Results

      Index name overflows the index card in explain tree.

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            vivian.xiao@mongodb.com Vivian Xiao (Inactive)
            Reporter:
            himanshu.singh@mongodb.com Himanshu Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: