If that happened in Europe, that’s illegal. The warranty period is suspended while your product is away for warranty repairs. Little side note, that only applies to the legal 2 year warranty protection, which is between the buyer and the seller (which is often not the manufacturer).