-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Sharding NYC
-
ALL
-
Sharding NYC 2023-06-26
-
1
Macro compares unsigned to 0
An unsigned value can never be negative, so this test will always evaluate the same way. An unsigned value can never be less than 0
/src/mongo/db/s/migration_chunk_cloner_source.cpp:726: NO_EFFECT 134417 This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "this->_inProgressReads >= 0UL".
- depends on
-
SERVER-73200 Coverity analysis defect 134909: Macro compares unsigned to 0
- Closed
- related to
-
SERVER-73200 Coverity analysis defect 134909: Macro compares unsigned to 0
- Closed