You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by li...@apache.org on 2023/05/15 13:00:37 UTC

[brpc] branch master updated: Correct RDMA device logging

This is an automated email from the ASF dual-hosted git repository.

lizhaogeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new f1245470 Correct RDMA device logging
     new fed114a8 Merge pull request #2249 from 372046933/rdma_opt
f1245470 is described below

commit f124547029bedae5e7b01cdcf8ba0a08f20b6d00
Author: 372046933 <wo...@gmail.com>
AuthorDate: Mon May 15 14:45:31 2023 +0800

    Correct RDMA device logging
---
 src/brpc/rdma/rdma_helper.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/brpc/rdma/rdma_helper.cpp b/src/brpc/rdma/rdma_helper.cpp
index f72aa755..9c88c75e 100644
--- a/src/brpc/rdma/rdma_helper.cpp
+++ b/src/brpc/rdma/rdma_helper.cpp
@@ -440,7 +440,7 @@ static void GlobalRdmaInitializeOrDieImpl() {
     }
     if (available_devices > 1 && FLAGS_rdma_device.size() == 0) {
         LOG(INFO) << "This server has more than one available RDMA device. Only "
-                  << "the first one (" << g_context->device->name
+                  << "the last one (" << g_context->device->name
                   << ") will be used. If you want to use other device, please "
                   << "specify it with --rdma_device.";
     } else {


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org