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

Extend stitch_support library to support aggregation API

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • QE 2023-05-15, QE 2023-05-29, QE 2023-06-12, QE 2023-06-26, QE 2023-07-10, QE 2023-07-24

      Currently, Atlas App Services (formerly Stitch) builds a library libmongo.so (for our linux envs) and assisted_agg (mainly exists for intel macOS) from the 4.4 server branch to accomplish to limit stages and apply rule expressions and filters to Atlas App Services Function Users.

      The API we utilize is captured in stub.cpp

      We extend the MongoProcessInterface found in baas_mongo_process_interface.h and utilize some utils.

      Additional files include:
      aggregate.cpp
      aggregate.h
      document_source_stitch.cpp
      document_source_stitch.h
      main.cpp
      utils.h

      In order to build the binaries we append code to the Sconscript in src/mongo/SConscript. Then call the build script while including all the cpp files we have on our side.

      In order to maintain a healthier build process as this is in frequently updated or touched, this API should be exposed to the existing stitch_support library (reducing the number of needed binaries from 2 down to 1), with server producing it for Atlas App Services.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            nathan.frank@mongodb.com Nathan Frank
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: