@@ -207,25 +207,18 @@ env.CppUnitTest(
207207 ]
208208)
209209
210- #
211- # State and execution of operations across multiple hosts
212- #
213- # This functionality is self-contained and independent of any network or system-level
214- # code.
215- #
210+ # Cluster write op state and execution
216211env .Library (
217- target = 'cluster_ops ' ,
212+ target = 'cluster_write_ops ' ,
218213 source = [
219214 'write_ops/write_op.cpp' ,
220215 'write_ops/batch_write_op.cpp' ,
221216 'write_ops/batch_write_exec.cpp' ,
222217 'write_ops/config_coordinator.cpp' ,
223- 'multi_host_query.cpp'
224218 ],
225219 LIBDEPS = [
226220 '$BUILD_DIR/mongo/bson' ,
227221 'batch_write_types' ,
228- '$BUILD_DIR/mongo/synchronization'
229222 ],
230223)
231224
@@ -236,7 +229,7 @@ env.CppUnitTest(
236229 ],
237230 LIBDEPS = [
238231 'base' ,
239- 'cluster_ops ' ,
232+ 'cluster_write_ops ' ,
240233 '$BUILD_DIR/mongo/db/common' ,
241234 ]
242235)
@@ -248,7 +241,7 @@ env.CppUnitTest(
248241 ],
249242 LIBDEPS = [
250243 'base' ,
251- 'cluster_ops ' ,
244+ 'cluster_write_ops ' ,
252245 '$BUILD_DIR/mongo/db/common' ,
253246 ]
254247)
@@ -260,7 +253,7 @@ env.CppUnitTest(
260253 ],
261254 LIBDEPS = [
262255 'base' ,
263- 'cluster_ops ' ,
256+ 'cluster_write_ops ' ,
264257 '$BUILD_DIR/mongo/db/common' ,
265258 '$BUILD_DIR/mongo/clientdriver' ,
266259 ],
@@ -273,20 +266,7 @@ env.CppUnitTest(
273266 ],
274267 LIBDEPS = [
275268 'base' ,
276- 'cluster_ops' ,
277- '$BUILD_DIR/mongo/db/common' ,
278- '$BUILD_DIR/mongo/clientdriver' ,
279- ],
280- )
281-
282- env .CppUnitTest (
283- target = 'multi_host_query_test' ,
284- source = [
285- 'multi_host_query_test.cpp' ,
286- ],
287- LIBDEPS = [
288- 'base' ,
289- 'cluster_ops' ,
269+ 'cluster_write_ops' ,
290270 '$BUILD_DIR/mongo/db/common' ,
291271 '$BUILD_DIR/mongo/clientdriver' ,
292272 ],
@@ -301,7 +281,7 @@ env.Library(
301281 ],
302282 LIBDEPS = [
303283 '$BUILD_DIR/mongo/bson' ,
304- 'cluster_ops ' ,
284+ 'cluster_write_ops ' ,
305285 '$BUILD_DIR/mongo/db/common' , # for Message
306286 ],
307287)
@@ -312,7 +292,7 @@ env.CppUnitTest(
312292 'write_ops/batch_upconvert_test.cpp' ,
313293 ],
314294 LIBDEPS = [
315- 'cluster_ops ' ,
295+ 'cluster_write_ops ' ,
316296 'cluster_write_op_conversion' ,
317297 '$BUILD_DIR/mongo/db/common' ,
318298 '$BUILD_DIR/mongo/server_options' , # DbMessage needs server options
@@ -325,21 +305,16 @@ env.CppUnitTest(
325305 'write_ops/batch_downconvert_test.cpp' ,
326306 ],
327307 LIBDEPS = [
328- 'cluster_ops ' ,
308+ 'cluster_write_ops ' ,
329309 'cluster_write_op_conversion' ,
330310 '$BUILD_DIR/mongo/db/common' ,
331311 '$BUILD_DIR/mongo/server_options' , # DbMessage needs server options
332312 ]
333313)
334314
335- #
336315# Implementations of components to perform cluster operations in mongos
337- #
338- # This is the glue code implementing the interfaces required by cluster ops
339- # in particular environments.
340- #
341316env .Library (
342- target = 'cluster_ops_impl ' ,
317+ target = 'cluster_op_impl ' ,
343318 source = [
344319 'chunk_manager_targeter.cpp' ,
345320 'cluster_write.cpp' ,
@@ -350,7 +325,7 @@ env.Library(
350325 LIBDEPS = [
351326 '$BUILD_DIR/mongo/bson' ,
352327 'batch_write_types' ,
353- 'cluster_ops ' ,
328+ 'cluster_write_ops ' ,
354329 'cluster_write_op_conversion' ,
355330 ],
356331)
0 commit comments