9.0 enterprise amazon2023 tarball missing bundled extension .so/.sig (regressed by AL2023.3 distro split)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The 9.0/master enterprise amazon2023 server tarballs no longer bundle the search extension shared objects. Confirmed by comparing the published tarball file listings:

      • 8.3 (mongodb-linux-aarch64-enterprise-amazon2023-v8.3-latest.tgz) ships lib/libmongot_extension.so, lib/librerank_extension.so, and their .sig files.
      • 9.0/master (mongodb-linux-aarch64-enterprise-amazon2023-latest.tgz) drops the entire lib/ directory - no extensions.

      Root cause

      SERVER-129941 (PR 56839, the AL2023.3 distro split) added a new bazel platform amazon_linux_2023_3. The config_setting_group}}s that bundle the extension {{.so/.sig into the dist archive - al2023_aarch64 and al2023_x86_64 in bazel/config/BUILD.bazel - still match only the old amazon_linux_2023. The enterprise-amazon2023-arm64 release variant now builds on AL2023.3 hosts, so it resolves to amazon_linux_2023_3, no longer matches, and the dist install target drops the .so/.sig. 8.3 predates the new platform, so it is unaffected.

      Fix

      Add //bazel/platforms:amazon_linux_2023_3 alongside //bazel/platforms:amazon_linux_2023 in the al2023_aarch64 and al2023_x86_64 config_setting_group}}s in {{bazel/config/BUILD.bazel. The same file already does this for build_connection_handoff_distros. No evergreen config change needed. Owner: 10gen/devprod-build per OWNERS.

      Impact

      Blocks the Atlas Automation Agent 9.0 extension work (CLOUDP-416275, CLOUDP-394043); the agent discovers the extension by scanning the mongod install lib/ for the bundled .so at startup. CLOUDP-413702 also depends on the master tarball shipping the .so.

      Verified by diffing the published tarball listings (8.3 prod vs 9.0/master prod vs dist-test); the dist-test tarball carries only the generic test extensions (not libmongot/librerank), so it is not a substitute for the prod archive.

            Assignee:
            Zac Codiamat
            Reporter:
            Evan Nixon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: