Declare missing lock_manager dependencies in Bazel unit-test targets

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • ALL
    • v8.0
    • Build OnDeck
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The Bazel unit tests message_filter_loader_test and message_compressor_test use LockManager symbols without declaring the //src/mongo/db/concurrency:lock_manager dependency.

      This caused unit_test_group1 to fail during linking on rhel8-debug-ubsan (BF-45449), including the message_filter_loader_test_with_debug target.

      The dependency was added to:

      • src/mongo/db/modules/enterprise/src/mfp/BUILD.bazel
      • src/mongo/transport/BUILD.bazel

      Related PR: https://github.com/10gen/mongo/pull/60525
      Validation: Evergreen patch build 6a8883f63412eb00075317ba completed successfully: https://spruce.corp.mongodb.com/version/6a8883f63412eb00075317ba

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: