diff options
Diffstat (limited to 'src/mongo/db/SConscript')
-rw-r--r-- | src/mongo/db/SConscript | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index 9f4088dba01..93928f28e42 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -1501,6 +1501,7 @@ env.Library( source=[ 'logical_session_cache.cpp', env.Idlc('logical_session_cache_stats.idl')[0], + env.Idlc('logical_session_cache.idl')[0], ], LIBDEPS=[ 'logical_session_id', @@ -1517,8 +1518,6 @@ env.Library( 'initialize_operation_session_info.cpp', 'logical_session_cache_impl.cpp', 'logical_session_server_status_section.cpp', - env.Idlc('logical_session_cache_impl.idl')[0], - env.Idlc('commands/end_sessions.idl')[0], ], LIBDEPS=[ 'logical_session_cache', @@ -1546,10 +1545,9 @@ env.Library( ) env.Library( - target='transaction_reaper', + target='transaction_reaper_d', source=[ - 'transaction_reaper.cpp', - env.Idlc('transaction_reaper.idl')[0], + 'transaction_reaper_d.cpp', ], LIBDEPS_PRIVATE=[ '$BUILD_DIR/mongo/db/repl/repl_coordinator_interface', @@ -1567,7 +1565,7 @@ envWithAsio.CppUnitTest( target='logical_session_cache_test', source=[ 'logical_session_cache_test.cpp', - 'transaction_reaper_test.cpp', + 'transaction_reaper_d_test.cpp', ], LIBDEPS=[ '$BUILD_DIR/mongo/executor/async_timer_mock', @@ -1584,7 +1582,7 @@ envWithAsio.CppUnitTest( 'service_context_d_test_fixture', 'service_liaison_mock', 'sessions_collection_mock', - 'transaction_reaper', + 'transaction_reaper_d', 'transaction', ], ) @@ -1604,20 +1602,7 @@ envWithAsio.Library( 'sessions_collection_standalone', ], LIBDEPS_PRIVATE=[ - 'transaction_reaper', - ], -) - -envWithAsio.Library( - target='logical_session_cache_factory_mongos', - source=[ - 'logical_session_cache_factory_mongos.cpp', - ], - LIBDEPS=[ - 'logical_session_cache', - 'logical_session_cache_impl', - 'service_liaison_mongos', - 'sessions_collection_sharded', + 'transaction_reaper_d', ], ) |