@@ -62,13 +62,14 @@ RequestTag::RequestTag(std::shared_ptr<Component> endpointOrWorker,
62
62
63
63
void RequestTag::callback (void * request, ucs_status_t status, const ucp_tag_recv_info_t * info)
64
64
{
65
- if (status != UCS_ERR_CANCELED && info->length != _length) {
66
- status = UCS_ERR_MESSAGE_TRUNCATED;
67
- const char * fmt = " length mismatch: %llu (got) != %llu (expected)" ;
68
- size_t len = std::snprintf (nullptr , 0 , fmt, info->length , _length);
69
- _status_msg = std::string (len + 1 , ' \0 ' ); // +1 for null terminator
70
- std::snprintf (_status_msg.data (), _status_msg.size (), fmt, info->length , _length);
71
- }
65
+ // TODO: Decide on behavior. See https://github.com/rapidsai/ucxx/issues/104 .
66
+ // if (status != UCS_ERR_CANCELED && info->length != _length) {
67
+ // status = UCS_ERR_MESSAGE_TRUNCATED;
68
+ // const char* fmt = "length mismatch: %llu (got) != %llu (expected)";
69
+ // size_t len = std::snprintf(nullptr, 0, fmt, info->length, _length);
70
+ // _status_msg = std::string(len + 1, '\0'); // +1 for null terminator
71
+ // std::snprintf(_status_msg.data(), _status_msg.size(), fmt, info->length, _length);
72
+ // }
72
73
73
74
Request::callback (request, status);
74
75
}
0 commit comments