-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
ALL
-
Execution Team 2024-06-10
COPY_INSTEAD_OF_MOVE
Unnecessary object copies can affect performance. Creating a copy of a variable that is no longer used instead of using std::move().
/src/mongo/db/timeseries/bucket_catalog/bucket_catalog_internal.cpp:754: COPY_INSTEAD_OF_MOVE 155593 "stripeLock" is passed-by-value as parameter to "rollover" when it could be moved instead.
/src/mongo/util/concurrency/with_lock.h:84: COPY_INSTEAD_OF_MOVE 155593 Type "mongo::WithLock" is move-constructible.