Skip to content

Commit 36c0579

Browse files
dstaay-fbmeta-codesync[bot]
authored andcommitted
bug fix: write_from doesn't propogate result to caller (#1884)
Summary: Pull Request resolved: #1884 Clear bug, we swallow possible errors from write_from operations. Reviewed By: allenwang28, mariusae Differential Revision: D87037246 fbshipit-source-id: 79e8c6f337470346574f9e9aed3f7175bdc3f5a0
1 parent 94abc01 commit 36c0579

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

monarch_rdma/src/rdma_components.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ impl RdmaBuffer {
207207
.release_queue_pair(client, remote_owner, local_device, remote_device, qp)
208208
.await?;
209209

210-
result?;
211-
Ok(true)
210+
result
212211
}
213212
/// Waits for the completion of an RDMA operation.
214213
///

0 commit comments

Comments
 (0)