6999: Handle truncation properly in BatchlogManager