fix copy constructor in rare collision+erase case
Summary: F14NodeMap and F14ValueMap copy construction could fail to copy the chunk overflow count in a rare case where there is a suffix of chunks that suffers an overflow, then all of the non-overflowed keys are removed, then the map is copied. In the copy the remaining overflowed key isn't find()able, but it is still present on the iteration sequence. This diff fixes the problem. Reviewed By: WillerZ, shixiao Differential Revision: D15105104 fbshipit-source-id: cff2073246bc301054996d4bb7e8baf9ee8c0021
Showing
Please register or sign in to comment