Fix --config=dbg symbol checker errors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2026-07-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Fixes symbol checker errors produced by the following bazel invocation:

      ```
      $ bazel build --config=symbol-checker //src/...
      ...
      ERROR: /home/cedric/mongo/src/mongo/db/storage/BUILD.bazel:397:17: SymbolChecker src/mongo/db/storage/spill_table_with_debug_checked failed: (Exit 1): python3 failed: error executing SymbolChecker command (from target //src/mongo/db/storage:spill_table_with_debug)
      ...
      ERROR: /home/cedric/mongo/src/mongo/db/storage/BUILD.bazel:355:17: SymbolChecker src/mongo/db/storage/oplog_truncate_markers_with_debug_checked failed: (Exit 1): python3 failed: error executing SymbolChecker command (from target //src/mongo/db/storage:oplog_truncate_markers_with_debug)
      ...
      ```

      These errors are not caught by the commit queue symbol checker because the Evergreen config uses `--dbg=False`. After the patch, the above command passes.

            Assignee:
            Cedric Sirianni
            Reporter:
            Cedric Sirianni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: