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

Optionally decouple WorkingSetMember from projection evaluation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2018-12-03, Query 2018-12-17, Query 2018-12-31, Query 2019-01-14

      The Stitch library scope document allocates time for refactoring as part of its implementation plan, and it specifically calls out the dependency between ProjectionExec and WorkingSetMember:

      Separate the core functionality from other parts of the system, e.g. ProjectionExec currently depends on WorkingSet, RecordId, etc.

      The PoC implementation of this work is able to work around this dependency by creating its own WorkingSetMember objects. My conclusion from implementing the workaround in the PoC is that it's completely reasonable for use in the production implementation.

      We can still consider refactoring this dependency, though, if we think it would improve the overall cleanliness of our architecture.

            Assignee:
            jacob.evans@mongodb.com Jacob Evans
            Reporter:
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: