Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42651

Make CollectionQueryInfo actively detect index changes rather than being notified

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Query Optimization
    • Execution Team 2019-08-12

      Currently, CollectionQueryInfo has the addedIndex() and droppedIndex() methods that are used by others (such as index_build_block) to notify any index changes.
      We could change CollectionQueryInfo to detect any index changes by itself. Then index_build_block does not need to depend on CollectionQueryInfo.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: