Info
Uninitialized scalar field
The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
/src/mongo/db/exec/sbe/stages/ix_scan.h:119: UNINIT_CTOR 120188 Class member declaration for "_catalogEpoch".
/src/mongo/db/exec/sbe/stages/ix_scan.cpp:69: UNINIT_CTOR 120188 Non-static class member "_catalogEpoch" is not initialized in this constructor nor in any functions that it calls.
Top User Comments
mihai.andrei commented on Thu, 24 Jun 2021 19:55:39 +0000:
I think this can be resolved as 'gone away' now that SERVER-57774 is in (_catalogEpoch and _collName now get default constructed to boost::none)?
JIRAUSER1257640 commented on Tue, 22 Jun 2021 07:24:33 +0000:
https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/sbe/stages/ix_scan.h#L119
https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/sbe/stages/ix_scan.cpp#L41
Also, should it be cloned in clone()?