Division or modulo by zero
The program will have undefined behavior, likely a crash. Division or modulo by zero results in undefined behavior.
/src/mongo/db/query/plan_cache.h:283: DIVIDE_BY_ZERO 121082 Checking "numPartitions > 0UL" implies that "numPartitions" and "this->_numPartitions" may be up to 0 on the false branch.
/src/mongo/db/query/plan_cache.h:284: DIVIDE_BY_ZERO 121082 In expression "cacheSize / numPartitions", division by expression "numPartitions" which may be zero has undefined behavior.