We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37d821 commit 306281aCopy full SHA for 306281a
gloo/transport/tcp/pair.cc
@@ -453,7 +453,10 @@ ssize_t Pair::prepareRead(
453
iov.iov_len = op.preamble.length - offset;
454
455
// Bytes read must be in bounds for target buffer
456
- GLOO_ENFORCE_LE(op.preamble.length, op.nbytes);
+ GLOO_ENFORCE_LE(
457
+ op.preamble.length,
458
+ op.nbytes,
459
+ "Received data size doesn't match expected size. Is there a distributed collective mismatch in your code?");
460
return iov.iov_len;
461
}
462
0 commit comments