// hasRoom() will effectively take care of bounds-checking tertiaryIndex, but we need to explicitly check offsetIndex
if(offsetIndex>=fold)
{
// if the trace's offset doesn't match any expected offset values then this is unexpected and may indicate a data problem
constauto
warnString=fmt::format("Warning: Unknown trace header Offset value {} found at primary key {}, secondary key {}. This may indicate corrupt data or an incorrect header format.",gatherOffsets[gatherIndex],primaryKey,secondaryKey);