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

Inclusion of FLE support in the shell drags too much of the query system in

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Querying, Shell
    • Labels:
    • Fully Compatible
    • ALL
    • Hide

      Build an enterprise mongo binary with --link-model=dynamic:

      • ldd build/install/bin/mongo | grep query_planner
      • ldd build/install/bin/mongo | grep sort_executor

      There is probably a lot of other stuff dragged in indirectly as well.

      Show
      Build an enterprise mongo binary with --link-model=dynamic : ldd build/install/bin/mongo | grep query_planner ldd build/install/bin/mongo | grep sort_executor There is probably a lot of other stuff dragged in indirectly as well.
    • Query 2020-07-13, Query 2020-07-27

      The addition of the FLE subsystem to the shell pulls in a very large swath of query code. Some of this is clearly necessary, as FLE needs to understand more about queries than it did in the past.

      However, other parts seem like they should't be coming along for the ride, like the query planner or the sort subsystem.

      The inclusion of this extra code causes a roughly 25% startup penalty for a dynamically linked shell, which given how many shells are started in the test suites adds up to a non-zero amount of delay.

      Some effort should be made to decompose the query code into the interfaces and implementations that are only necessary for to support FLE so that these extra dependencies can be pruned.

            Assignee:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: