3418 Commits

Author SHA1 Message Date
wwbmmm 9049685d0b improve server and redis docs 1.14.1 2025-08-02 16:43:47 +08:00
wwbmmm f88a524fa4 Release 1.14.1 2025-08-02 16:18:22 +08:00
David Lee c5e95593c0 fix error checking against IB verbs API (#2265) (#3034)
* fix error checking against IB verbs API (#2265)

Signed-off-by: Qun, Li <qun.li@zstack.io>

* style and log changes according to comments

Signed-off-by: Qun, Li <qun.li@zstack.io>

---------

Signed-off-by: Qun, Li <qun.li@zstack.io>
2025-08-02 16:18:22 +08:00
Weibing Wang a52c2b80ba Limit redis alloc size (#3050)
* Reapply "Add redis allocation size limit (#3035)"

This reverts commit d0f8f8fec6.

* Fix int overflow

* Update log
2025-08-02 16:18:22 +08:00
wwbmmm 632e46ed45 Revert "Add redis allocation size limit (#3035)"
This reverts commit 75341f896d.
2025-08-02 16:18:22 +08:00
gulu-goolu 7b788eb546 replace google::protobuf::int64 by int64_t (#3045)
google::protobuf::int64 has been removed.
2025-08-02 16:18:22 +08:00
Yang,Liming 3c40646001 add flags for set worker thread name (#3037) 2025-08-02 16:18:22 +08:00
mwish 575ae27039 Enhance doc for server.md (#3040)
Signed-off-by: mwish <maplewish117@gmail.com>
2025-08-02 16:18:22 +08:00
Jerry Zhao 0dabee5b88 add inline redis protocol support (#3024)
* add inline redis protocol support

* complete code

* add check

* fix

* add inline unitest

* use find

* fix
2025-08-02 16:18:22 +08:00
chenyujie d96e26ad15 Bugfix: SignalTrace mode has memory access problem (#3032)
* Bugfix: SignalTrace mode has memory access problem
2025-08-02 16:18:22 +08:00
wwbmmm 1280ac79a7 Release 1.14.0 1.14.0 2025-07-23 10:41:58 +08:00
Yang,Liming 95b7de3d40 bugfix: runtime extend block pool (#2965) 2025-07-23 10:20:53 +08:00
none 257134d688 optimize the fallback code style (#3008) 2025-07-23 10:17:07 +08:00
Bright Chen 05ec537ae6 Bugfix: bthread_worker_usage could exceed bthread_worker_count (#3009)
* Bugfix: bthread_worker_usage would be greater than bthread_worker_count

* Use CPU atomic 128-bit aligned loads and stores

* Encapsulating AtomicInteger128 class

* Remove unused header files
2025-07-23 10:15:36 +08:00
Bright Chen 1ff5f3fc5a Support generics for MultiDimension APIs (#3026)
* Support generics for MVariable api

* Update document
2025-07-23 10:14:05 +08:00
Weibing Wang 75341f896d Add redis allocation size limit (#3035)
* Add redis allocation size limit

* Fix compiler error

* Format code
2025-07-23 00:23:36 +08:00
Bright Chen bea48d75fe Bugfix: SignalTrace mode has memory and deadlock issues (#3019)
* Bugfix: SignalTrace mode has memory and deadlock issues

* Bugfix: Memory leak of SignalSync and wrong status of global priority bthread
2025-07-18 23:35:00 +08:00
Bright Chen d95ede52bd Bugfix: Butex returned to ObjectPool triggers use-after-poison (#3012) 2025-07-15 14:05:42 +08:00
Bright Chen a7dfbea910 Bugfix: LatencyRecorder::expose CHECK fails when save_series flag is false (#3022) 2025-07-11 11:18:52 +08:00
Bright Chen e0fe40e4e4 Opt log function name (#3017) 2025-07-07 22:46:22 +08:00
Chen Chuanle 33c4396de7 Make unit tests runnable on macOS (#3018) 2025-07-06 23:27:14 +08:00
Paragrf e6d803efdc Fix the bug that the grpc protocol is incompatible with authentication(issue:#3001) (#3002)
* bugfix:Fixed the issue that grpc was blocked because the returned body could not be parsed by the client to get the correct error code after authentication failed

* add unitest for failure of auth

* change Controller* to Controller

---------

Co-authored-by: paragrf <guoruifeng@kanzhun.com>
2025-07-03 17:33:47 +08:00
Bright Chen 5bc6da6fe6 Bugfix: Socket without health check would be abnormally recycled (#3010) 2025-06-29 16:53:47 +08:00
kkkshine d5cdbe69a6 fix: Specifying the global namespace for bind and connect (#3007) 2025-06-25 15:38:49 +08:00
xiongjiwei 3dd23bcc9a Add include guard in rwlock.h (#3005) 2025-06-23 16:18:32 +08:00
Yang,Liming 663625a73b support checksum (#2967) 2025-06-20 14:16:35 +08:00
Yang,Liming 67057f8fe6 rdma support polling mode (#2920) 2025-06-20 14:11:36 +08:00
egolearner 7dfc3f52a8 Consistent hashing support server tag (#2994)
* fix: consistent hashing support server tag

* add flag
2025-06-20 13:16:01 +08:00
Chen Chuanle d4e46bddc1 Fix race condition that causes TimerThread to hang during shutdown (#2986)
* Fix race condition that causes TimerThread to hang during shutdown

* fix ut

* optimize timer_thread stop check
2025-06-16 10:07:51 +08:00
Chen Chuanle 10f8b24b96 Fix potential invalid memory access in StringSplitter (#2996) 2025-06-16 10:07:04 +08:00
Bright Chen fed627513e Support macro to disable move (#2989) 2025-06-13 11:56:31 +08:00
chenyujie ac92dd3785 Fix bthread task tracer deadlock bug (#2988) 2025-06-10 10:12:00 +08:00
Chen Chuanle d0fa17634e Optimize shared_ptr assignment in DoublyBufferedData (#2981) 2025-06-07 23:20:20 +08:00
Bright Chen 8f7a402729 Fix incorrect seq id setting in thrift message begin (#2984) 2025-06-07 17:27:06 +08:00
Xiaochuan Ye c24e641009 Fix UT compilation errors with GCC 13 due to missing <cstdint> includes (#2979)
GCC 13 no longer transitively includes <cstdint> from other standard
library headers. This causes compilation failures for code using types
like uint32_t and uintptr_t without explicitly including <cstdint>.

This commit adds the missing #include <cstdint> directives to:
- test/baidu_thread_local_unittest.cpp
- src/bthread/list_of_abafree_id.h

The errors were:
- error: 'uintptr_t' was not declared in this scope
- error: 'uint32_t' does not name a type

This change ensures compatibility with GCC 13 while maintaining
backward compatibility with older compiler versions.

Reference: https://gcc.gnu.org/gcc-13/porting_to.html
2025-06-01 21:10:34 +08:00
Bright Chen 66e9635e91 Fix invalid url of thrift (#2975) 2025-05-27 22:21:24 +08:00
tongke 6ef8b9ddeb Fix libunwind linked by default on x86_64 cpu when building via bazel (#2973)
* Fix libunwind linked by default on x86_64 cpu when build with bazel

* fix errors in getting_started.md english version

* add link libunwind instruction for bazel
2025-05-24 20:07:54 +08:00
Jade 5b0a6c1bda epoll bthread deal first (#2819)
* add global priority queue

* add parking lot license

* fix scale workers

* fix expected state

* add global priority queue

* fix setconcurrency ut error

* fix rebase error

* add global priority bthread flags

* deal some comments

* fix comments

---------

Co-authored-by: jiazheng.jia <jiazheng.jia@antgroup.com>
2025-05-22 10:14:06 +08:00
HU 74ca5964dc Merge pull request #2962 from zhangqiongyu/feature/optimize_rdma
fix npe and reduce assignment instructions within the loop
2025-05-18 10:27:50 +08:00
HU 1c03278331 Merge pull request #2964 from zhoukangsheng/support_health_check_option
Support channel level application health check options
2025-05-18 10:25:25 +08:00
LorinLee c47ec71a0d Merge pull request #2966 from lorinlee/release-1.13.0
Release 1.13.0
1.13.0
2025-05-12 00:42:09 +08:00
lorinlee 118289fd76 Release 1.13.0 2025-05-11 23:36:52 +08:00
zhoukangsheng ffaa7ba627 feat: reduce the failure rate of brpc_load_balancer_unittest 2025-05-10 17:41:28 +08:00
zhoukangsheng 96f5d9ab1b feat: add health_check_option.h 2025-05-10 16:30:09 +08:00
zhoukangsheng 84071ed058 feat: change members to a single HealthCheckOption member && update ComputeChannelSignature 2025-05-10 14:39:10 +08:00
zhoukangsheng 4a0f411b01 feat: 支持channel维度设置rpc级别健康检查参数 2025-05-09 22:51:54 +08:00
zhangqy c9a59247ab fix typo 2025-05-09 11:22:30 +08:00
Bright Chen 011dabe9c8 Make sure WeightedRandomizedLoadBalancer can traverse the whole server list (#2953)
* Make sure WeightedRandomizedLoadBalancer can traverse the whole server list

* Only mark unavailable server as traversed
2025-05-08 17:56:00 +08:00
zhangqy 5a64de0145 fix npe and reduce assignment instructions within the loop 2025-04-29 14:40:32 +08:00
none 6ef4158cc6 use standard alg to optimze comparator (#2959)
Co-authored-by: qiongyu.zhang <qiongyu.zhang@momenta.ai>
2025-04-27 10:01:26 +08:00