-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Code
-
Fully Compatible
-
Server Serverless 2022-12-12
AUTO_CAUSES_COPY
Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
/src/mongo/db/serverless/shard_split_commands.cpp:69: AUTO_CAUSES_COPY 134186 Using the "auto" keyword without an "&" causes the copy of an object of type TenantId.
- is caused by
-
SERVER-71179 Update the ShardSplitCommands to use the TenantId class
- Closed
- related to
-
SERVER-71184 Shard Split State Document to use array<tenant_id>
- Closed