Separate MDBCatalogTest unit tests from KVEngine unit tests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      The DurableCatalog tests link in a lot more dependencies than are needed for the KVEngine tests. We should separate them to avoid excessive build times for the storage engine tests.

      $ bazel cquery 'somepath(//src/mongo/db/storage/wiredtiger:storage_wiredtiger_test, //src/mongo/db:shard_role_api)' --output graph --notool_deps --noimplicit_deps --keep_going
      INFO: Invocation ID: 7480e5da-85a1-4748-85df-a0032083ac9a
      INFO: Streaming build results to: https://sodalite.cluster.engflow.com/invocation/7480e5da-85a1-4748-85df-a0032083ac9a
      INFO: Analyzed 2 targets (0 packages loaded, 0 targets configured).
      INFO: Found 2 targets...
      digraph mygraph {
        node [shape=box];
        "//src/mongo/db/storage/wiredtiger:storage_wiredtiger_test (43c700d)"
        "//src/mongo/db/storage/wiredtiger:storage_wiredtiger_test (43c700d)" -> "//src/mongo/db/storage/kv:kv_engine_test_harness (0548c00)"
        "//src/mongo/db/storage/kv:kv_engine_test_harness (0548c00)"
        "//src/mongo/db/storage/kv:kv_engine_test_harness (0548c00)" -> "//src/mongo/db/catalog:catalog_impl (0548c00)"
        "//src/mongo/db/catalog:catalog_impl (0548c00)"
        "//src/mongo/db/catalog:catalog_impl (0548c00)" -> "//src/mongo/db:system_index (0548c00)"
        "//src/mongo/db:system_index (0548c00)"
        "//src/mongo/db:system_index (0548c00)" -> "//src/mongo/db/index_builds:index_builds_coordinator (0548c00)"
        "//src/mongo/db/index_builds:index_builds_coordinator (0548c00)"
        "//src/mongo/db/index_builds:index_builds_coordinator (0548c00)" -> "//src/mongo/db:dbhelpers (0548c00)"
        "//src/mongo/db:dbhelpers (0548c00)"
        "//src/mongo/db:dbhelpers (0548c00)" -> "//src/mongo/db/query/write_ops:parsed_update_and_delete (0548c00)"
        "//src/mongo/db/query/write_ops:parsed_update_and_delete (0548c00)"
        "//src/mongo/db/query/write_ops:parsed_update_and_delete (0548c00)" -> "//src/mongo/db/query/write_ops:delete_request_idl (0548c00)"
        "//src/mongo/db/query/write_ops:delete_request_idl (0548c00)"
        "//src/mongo/db/query/write_ops:delete_request_idl (0548c00)" -> "//src/mongo/db/pipeline:pipeline (0548c00)"
        "//src/mongo/db/pipeline:pipeline (0548c00)"
        "//src/mongo/db/pipeline:pipeline (0548c00)" -> "//src/mongo/db:shard_filterer (0548c00)"
        "//src/mongo/db:shard_filterer (0548c00)"
        "//src/mongo/db:shard_filterer (0548c00)" -> "//src/mongo/db:shard_role_api (0548c00)"
        "//src/mongo/db:shard_role_api (0548c00)"
      }
      

            Assignee:
            Unassigned
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: