[GitHub] [brpc] owenliang commented on issue #1666: 使用h2:grpc当server端服务(grpc)持续不可用时,client端(brpc)陷入死循环

2023-01-19 Thread GitBox


owenliang commented on issue #1666:
URL: https://github.com/apache/brpc/issues/1666#issuecomment-1397932105

   的确如此,随便写个demo,让服务端死掉重启,客户端再也不连了。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[brpc] annotated tag 1.4.0 updated (cf2a2200 -> 1fed3493)

2023-01-19 Thread xiaofeng
This is an automated email from the ASF dual-hosted git repository.

xiaofeng pushed a change to annotated tag 1.4.0
in repository https://gitbox.apache.org/repos/asf/brpc.git


*** WARNING: tag 1.4.0 was modified! ***

from cf2a2200 (commit)
  to 1fed3493 (tag)
 tagging cf2a22000584f30309e49e01e634128b193abb3e (commit)
 replaces 1.3.0
  by Xiaofeng Wang
  on Fri Jan 20 13:05:33 2023 +0800

- Log -
release 1.4.0
---


No new revisions were added by this update.

Summary of changes:


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



[brpc] branch release-1.4 updated: Bump to version 1.4.0

2023-01-19 Thread xiaofeng
This is an automated email from the ASF dual-hosted git repository.

xiaofeng pushed a commit to branch release-1.4
in repository https://gitbox.apache.org/repos/asf/brpc.git


The following commit(s) were added to refs/heads/release-1.4 by this push:
 new cf2a2200 Bump to version 1.4.0
cf2a2200 is described below

commit cf2a22000584f30309e49e01e634128b193abb3e
Author: Xiaofeng Wang 
AuthorDate: Fri Jan 20 13:02:34 2023 +0800

Bump to version 1.4.0
---
 CMakeLists.txt| 2 +-
 RELEASE_VERSION   | 2 +-
 package/rpm/brpc.spec | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59a29e67..35365b27 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,7 +34,7 @@ if(POLICY CMP0042)
 cmake_policy(SET CMP0042 NEW)
 endif()
 
-set(BRPC_VERSION 1.3.0)
+set(BRPC_VERSION 1.4.0)
 
 SET(CPACK_GENERATOR "DEB")
 SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "brpc authors")
diff --git a/RELEASE_VERSION b/RELEASE_VERSION
index f0bb29e7..88c5fb89 100644
--- a/RELEASE_VERSION
+++ b/RELEASE_VERSION
@@ -1 +1 @@
-1.3.0
+1.4.0
diff --git a/package/rpm/brpc.spec b/package/rpm/brpc.spec
index b99a1eb4..f624d95b 100644
--- a/package/rpm/brpc.spec
+++ b/package/rpm/brpc.spec
@@ -18,7 +18,7 @@
 #
 
 Name:  brpc
-Version:   1.3.0
+Version:   1.4.0
 Release:   1%{?dist}
 Summary:   Industrial-grade RPC framework using C++ Language.
 


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



[brpc] branch release-1.4 created (now 44332907)

2023-01-19 Thread xiaofeng
This is an automated email from the ASF dual-hosted git repository.

xiaofeng pushed a change to branch release-1.4
in repository https://gitbox.apache.org/repos/asf/brpc.git


  at 44332907 Install and pack brpc tools (#2096)

No new revisions were added by this update.


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



Re: [DISCUSS] Features to release with 1.4.0

2023-01-19 Thread Wang Xiaofeng
Hi,

All features mentioned have been merged except this one:

- support channel option: health_check_path :
https://github.com/apache/brpc/pull/1806

which has been closed by the author. Maybe we can add this to the next release.

Regards,
Xiaofeng

On 2022/12/12 05:30:26 Weibing Wang wrote:
> The first three PRs have been merged, they will be included in version 1.4.0:
> 
> - Early return when size == 0 :
> https://github.com/apache/incubator-brpc/pull/2009
> - allow IOBuf::append_user_data_with_meta to specify the lkey of rdma
> memory region: https://github.com/apache/incubator-brpc/pull/2005
> - add bazel third_party support :
> https://github.com/apache/incubator-brpc/pull/1996
> 
> Best regards
> Weibing
> 
> On Thu, Nov 24, 2022 at 11:21 AM Weibing Wang  wrote:
> >
> > Yes, the RDMA support should be included.
> > And I'd like the following feature to be included in 1.4.0:
> >
> > - Early return when size == 0 :
> > https://github.com/apache/incubator-brpc/pull/2009
> > - allow IOBuf::append_user_data_with_meta to specify the lkey of rdma
> > memory region: https://github.com/apache/incubator-brpc/pull/2005
> > - add bazel third_party support :
> > https://github.com/apache/incubator-brpc/pull/1996
> > - support channel option: health_check_path :
> > https://github.com/apache/incubator-brpc/pull/1806
> >
> > Best Regards
> > Weibing
> >
> > On Tue, Nov 22, 2022 at 8:13 PM Jerry Tan  wrote:
> > >
> > > RDMA support must be one feature,
> > > any more?
> > >
> > >
> > > On 2022/11/22 12:02:37 Weibing Wang wrote:
> > > > Hi, brpc developers
> > > >
> > > > Since brpc 1.3.0 has been released, let's talk about what feature to
> > > > release with 1.4.0
> > > > Any ideas?
> > > >
> > > > Best Regards
> > > > Weibing
> > > >
> > > > -
> > > > To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
> > > > For additional commands, e-mail: dev-h...@brpc.apache.org
> > > >
> > > >
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
> > > For additional commands, e-mail: dev-h...@brpc.apache.org
> > >
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
> For additional commands, e-mail: dev-h...@brpc.apache.org
> 
> 

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



[brpc] branch master updated: Install and pack brpc tools (#2096)

2023-01-19 Thread xiaofeng
This is an automated email from the ASF dual-hosted git repository.

xiaofeng 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 44332907 Install and pack brpc tools (#2096)
44332907 is described below

commit 44332907de0c3a2f9d6602ee754511bf64130ec8
Author: Xiaofeng Wang 
AuthorDate: Fri Jan 20 10:08:08 2023 +0800

Install and pack brpc tools (#2096)
---
 package/rpm/brpc.spec   | 17 +
 tools/parallel_http/CMakeLists.txt  |  1 +
 tools/rpc_press/CMakeLists.txt  |  1 +
 tools/rpc_replay/CMakeLists.txt |  1 +
 tools/rpc_view/CMakeLists.txt   |  1 +
 tools/trackme_server/CMakeLists.txt |  1 +
 6 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/package/rpm/brpc.spec b/package/rpm/brpc.spec
index fa81bb97..b99a1eb4 100644
--- a/package/rpm/brpc.spec
+++ b/package/rpm/brpc.spec
@@ -25,7 +25,7 @@ Summary:  Industrial-grade RPC framework using C++ 
Language.
 Group: Development
 License:   Apache2
 URL:   https://github.com/apache/brpc
-Source0:   apache-brpc-%{version}-incubating-src.tar.gz
+Source0:   
https://downloads.apache.org/brpc/%{version}/apache-brpc-%{version}-src.tar.gz
 
 # https://access.redhat.com/solutions/519993
 %global  _filter_GLIBC_PRIVATE 1
@@ -55,6 +55,12 @@ Apache bRPC is an Industrial-grade RPC framework using C++ 
Language,
 which is often used in high performance systems such as Search, Storage,
 Machine learning, Advertisement, Recommendation etc.
 
+%package tools
+Summary: The %{name} tools.
+Requires: %{name} = %{version}-%{release}
+%description tools
+The %{name} tools.
+
 %package devel
 Summary: The %{name} headers and shared development libraries
 Requires: %{name} = %{version}-%{release}
@@ -68,7 +74,7 @@ Requires: brpc-devel = %{version}-%{release}
 Static %{name} libraries.
 
 %prep
-%setup -n apache-%{name}-%{version}-incubating-src
+%setup -n apache-%{name}-%{version}-src
 
 %build
 %if 0%{?use_devtoolset}
@@ -76,13 +82,13 @@ Static %{name} libraries.
 %endif
 
 %if 0%{?fedora} >= 33 || 0%{?rhel} >= 8
-%{cmake} -DBUILD_BRPC_TOOLS:BOOLEAN=OFF -DDOWNLOAD_GTEST:BOOLEAN=OFF
+%{cmake} -DBUILD_BRPC_TOOLS:BOOLEAN=ON -DDOWNLOAD_GTEST:BOOLEAN=OFF
 %{cmake_build}
 %else
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
 
-%{cmake} -DBUILD_BRPC_TOOLS:BOOLEAN=OFF -DDOWNLOAD_GTEST:BOOLEAN=OFF ..
+%{cmake} -DBUILD_BRPC_TOOLS:BOOLEAN=ON -DDOWNLOAD_GTEST:BOOLEAN=OFF ..
 make %{?_smp_mflags}
 
 popd
@@ -105,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %{_libdir}/libbrpc.so
 
+%files tools
+%{_bindir}/*
+
 %files devel
 %{_includedir}/*
 %{_libdir}/pkgconfig/*
diff --git a/tools/parallel_http/CMakeLists.txt 
b/tools/parallel_http/CMakeLists.txt
index 457d600c..7099f3e4 100644
--- a/tools/parallel_http/CMakeLists.txt
+++ b/tools/parallel_http/CMakeLists.txt
@@ -17,3 +17,4 @@
 
 add_executable(parallel_http parallel_http.cpp)
 target_link_libraries(parallel_http brpc-static ${DYNAMIC_LIB})
+install(TARGETS parallel_http RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/tools/rpc_press/CMakeLists.txt b/tools/rpc_press/CMakeLists.txt
index e50e296b..bdcba5d5 100644
--- a/tools/rpc_press/CMakeLists.txt
+++ b/tools/rpc_press/CMakeLists.txt
@@ -18,3 +18,4 @@
 file(GLOB SOURCES "${PROJECT_SOURCE_DIR}/tools/rpc_press/*.cpp")
 add_executable(rpc_press ${SOURCES})
 target_link_libraries(rpc_press brpc-static ${DYNAMIC_LIB})
+install(TARGETS rpc_press RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/tools/rpc_replay/CMakeLists.txt b/tools/rpc_replay/CMakeLists.txt
index b1ec83b5..8278da28 100644
--- a/tools/rpc_replay/CMakeLists.txt
+++ b/tools/rpc_replay/CMakeLists.txt
@@ -18,3 +18,4 @@
 file(GLOB SOURCES "${PROJECT_SOURCE_DIR}/tools/rpc_replay/*.cpp")
 add_executable(rpc_replay ${SOURCES})
 target_link_libraries(rpc_replay brpc-static ${DYNAMIC_LIB})
+install(TARGETS rpc_replay RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/tools/rpc_view/CMakeLists.txt b/tools/rpc_view/CMakeLists.txt
index 92e54e30..55a3bc5e 100644
--- a/tools/rpc_view/CMakeLists.txt
+++ b/tools/rpc_view/CMakeLists.txt
@@ -21,3 +21,4 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
 
 add_executable(rpc_view rpc_view.cpp ${PROTO_SRC})
 target_link_libraries(rpc_view brpc-static ${DYNAMIC_LIB})
+install(TARGETS rpc_view RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/tools/trackme_server/CMakeLists.txt 
b/tools/trackme_server/CMakeLists.txt
index 5ccf9711..35d797e9 100644
--- a/tools/trackme_server/CMakeLists.txt
+++ b/tools/trackme_server/CMakeLists.txt
@@ -17,3 +17,4 @@
 
 add_executable(trackme_server trackme_server.cpp)
 target_link_libraries(trackme_server brpc-static ${DYNAMIC_LIB})
+install(TARGETS trackme_server RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})


-
To unsubscribe, e-mail: 

[GitHub] [brpc] wasphin merged pull request #2096: Install and pack brpc tools

2023-01-19 Thread GitBox


wasphin merged PR #2096:
URL: https://github.com/apache/brpc/pull/2096


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[GitHub] [brpc] wasphin opened a new pull request, #2096: Install and pack brpc tools

2023-01-19 Thread GitBox


wasphin opened a new pull request, #2096:
URL: https://github.com/apache/brpc/pull/2096

   ### What problem does this PR solve?
   
   Issue Number: NONE
   
   Problem Summary:
   
   ### What is changed and the side effects?
   
   Changed:
   
   Side effects:
   - Performance effects(性能影响): N/A
   
   - Breaking backward compatibility(向后兼容性): N/A
   
   ---
   ### Check List:
   - Please make sure your changes are compilable(请确保你的更改可以通过编译).
   - When providing us with a new feature, it is best to add related 
tests(如果你向我们增加一个新的功能, 请添加相关测试).
   - Please follow [Contributor Covenant Code of 
Conduct](../../master/CODE_OF_CONDUCT.md).(请遵循贡献者准则).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[brpc] branch master updated: Update description

2023-01-19 Thread xiaofeng
This is an automated email from the ASF dual-hosted git repository.

xiaofeng 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 3dbc372d Update description
3dbc372d is described below

commit 3dbc372d6aa4cbbacdf50ecfaa5633b74ce36d7e
Author: Xiaofeng Wang 
AuthorDate: Thu Jan 19 19:57:40 2023 +0800

Update description
---
 cmake/brpc.pc.in  | 2 +-
 package/rpm/brpc.spec | 7 ---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/cmake/brpc.pc.in b/cmake/brpc.pc.in
index 312ea727..723dab4f 100644
--- a/cmake/brpc.pc.in
+++ b/cmake/brpc.pc.in
@@ -19,7 +19,7 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
 libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
 
 Name: brpc
-Description: An industrial-grade RPC framework used throughout Baidu, with 
1,000,000+ instances(not counting clients) and thousands kinds of services, 
called "baidu-rpc" inside Baidu.
+Description: Apache bRPC is an Industrial-grade RPC framework using C++ 
Language, which is often used in high performance system such as Search, 
Storage, Machine learning, Advertisement, Recommendation etc. "bRPC" means 
"better RPC".
 Version: @BRPC_VERSION@
 Cflags: -I${includedir}
 Libs: -L${libdir}/ -lbrpc
diff --git a/package/rpm/brpc.spec b/package/rpm/brpc.spec
index 34b76261..fa81bb97 100644
--- a/package/rpm/brpc.spec
+++ b/package/rpm/brpc.spec
@@ -20,7 +20,7 @@
 Name:  brpc
 Version:   1.3.0
 Release:   1%{?dist}
-Summary:   An industrial-grade RPC framework used throughout Baidu, with 
1,000,000+ instances(not counting clients) and thousands kinds of services.
+Summary:   Industrial-grade RPC framework using C++ Language.
 
 Group: Development
 License:   Apache2
@@ -51,8 +51,9 @@ BuildRequires:leveldb-devel
 BuildRequires: openssl-devel
 
 %description
-An industrial-grade RPC framework used throughout Baidu, with 1,000,000+ 
instances(not counting clients) and thousands kinds of services.
-"brpc" means "better RPC".
+Apache bRPC is an Industrial-grade RPC framework using C++ Language,
+which is often used in high performance systems such as Search, Storage,
+Machine learning, Advertisement, Recommendation etc.
 
 %package devel
 Summary: The %{name} headers and shared development libraries


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



[brpc] branch master updated: Update NOTICE

2023-01-19 Thread xiaofeng
This is an automated email from the ASF dual-hosted git repository.

xiaofeng 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 ac9dab52 Update NOTICE
ac9dab52 is described below

commit ac9dab52d43eaaa5bebdccbd3eca2511bb991288
Author: Xiaofeng Wang 
AuthorDate: Thu Jan 19 19:08:50 2023 +0800

Update NOTICE
---
 NOTICE | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/NOTICE b/NOTICE
index 0da9017c..d2db74d7 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
-Apache brpc (incubating)
-Copyright 2018-2022 The Apache Software Foundation
+Apache bRPC
+Copyright 2018-2023 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).


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



[brpc] branch master updated: Update release steps for TLP (#2095)

2023-01-19 Thread xiaofeng
This is an automated email from the ASF dual-hosted git repository.

xiaofeng 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 57821503 Update release steps for TLP (#2095)
57821503 is described below

commit 57821503260d48066c2904b0542bd359fe961e3c
Author: Xiaofeng Wang 
AuthorDate: Thu Jan 19 18:52:43 2023 +0800

Update release steps for TLP (#2095)
---
 community/apache-package-validator.sh |   6 +-
 community/release_cn.md   | 309 --
 community/release_en.md   | 219 +++-
 community/releasecheck.md |  56 +++---
 4 files changed, 202 insertions(+), 388 deletions(-)

diff --git a/community/apache-package-validator.sh 
b/community/apache-package-validator.sh
index 65785c1e..853cabe0 100755
--- a/community/apache-package-validator.sh
+++ b/community/apache-package-validator.sh
@@ -35,11 +35,10 @@ summary() {
 cat  apache-brpc-1.0.0-incubating-src.tar.gz
+git archive --format=tar 1.0.0 --prefix=apache-brpc-1.0.0-src/ | gzip > 
apache-brpc-1.0.0-src.tar.gz
 ```
 
 ## 5. 生成签名文件
 
 ```bash
-gpg -u lorin...@apache.org --armor --output 
apache-brpc-1.0.0-incubating-src.tar.gz.asc 

[GitHub] [brpc] wasphin merged pull request #2095: Update release steps for TLP

2023-01-19 Thread GitBox


wasphin merged PR #2095:
URL: https://github.com/apache/brpc/pull/2095


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[GitHub] [brpc] wasphin opened a new pull request, #2095: Update release steps for TLP

2023-01-19 Thread GitBox


wasphin opened a new pull request, #2095:
URL: https://github.com/apache/brpc/pull/2095

   ### What problem does this PR solve?
   
   Issue Number: #2078 
   
   Problem Summary:
   
   ### What is changed and the side effects?
   
   Changed:
   
   Side effects:
   - Performance effects(性能影响): N/A
   
   - Breaking backward compatibility(向后兼容性): N/A
   
   ---
   ### Check List:
   - Please make sure your changes are compilable(请确保你的更改可以通过编译).
   - When providing us with a new feature, it is best to add related 
tests(如果你向我们增加一个新的功能, 请添加相关测试).
   - Please follow [Contributor Covenant Code of 
Conduct](../../master/CODE_OF_CONDUCT.md).(请遵循贡献者准则).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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