History log of /external/tensorflow/tensorflow/core/distributed_runtime/recent_request_ids.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6042b5d267f42d004087b44c29525951700579f9 23-Jan-2018 Jeremy Lau <lauj@google.com> Reject retried RecvTensor requests.

Retried RecvTensorRequests are problematic because a RecvTensor with no
corresponding sender will wait forever, and the tensor may have been delivered
to a previous retry.

This change adds a unique request_id to each RecvTensor request, and we check
these request_ids against a set of recent request_ids. If a request_id is in the
recent set, we reject the RecvTensor request.

PiperOrigin-RevId: 182863245
/external/tensorflow/tensorflow/core/distributed_runtime/recent_request_ids.cc