Align on search indexes behavior when isWritable is false in compass-indexes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • None
    • None
    • Developer Tools

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      in the fetchIndexes function in modules/search-indexes, there is a check to not fetch search indexes when isWritable is false. https://github.com/mongodb-js/compass/blob/4cfb89d6994eacc849730f9412d0a2325a320bf1/packages/compass-indexes/src/modules/search-indexes.ts#L611

      "Currently we are not hiding any data for this state (!isWritable) at most of the places, but are introducing it here. I think we should align how we are handling things currently "

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Expected Results

      What do you expect to happen?

      Actual Results

      What do you observe is happening?

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            Unassigned
            Reporter:
            Jimmy Choi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: