Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
060ba38
[fix]1、将原有的计时器替换为brpc的bthread,以此修复:删除计时器可能会无限期阻塞、fd重用竞速、计时器初始化包含一个竞选、…
Sherlock0203 Aug 24, 2026
ccaecae
[fix]1、将原有的计时器替换为brpc的bthread,以此修复:删除计时器可能会无限期阻塞、fd重用竞速、计时器初始化包含一个竞选、…
Sherlock0203 Aug 24, 2026
edeb77b
Merge remote-tracking branch 'origin/timer' into timer
Sherlock0203 Aug 25, 2026
a40c675
[fix]1、将原有的计时器替换为brpc的bthread,以此修复:删除计时器可能会无限期阻塞、fd重用竞速、计时器初始化包含一个竞选、…
Sherlock0203 Aug 25, 2026
f620393
fix(channel): Reject reinitialization to keep SocketMap references ba…
darion-yaphet Aug 25, 2026
0ff5a40
Validate returned stream identifiers (#3485)
wasphin Aug 25, 2026
a72f2d6
Fix CMake zlib dependency discovery
zchuango Aug 25, 2026
4047c4e
Limit reassembled stream message size (#3489)
wasphin Aug 26, 2026
3858f5e
[fix]修复魔鬼数字
Sherlock0203 Aug 27, 2026
051abcc
fix: release AccessThreadArgs array in parallel_http to avoid memory …
waterWang Aug 27, 2026
1fa8022
Speed up CI with build caching and parallel jobs (#3486)
wasphin Aug 27, 2026
b1bf4f7
[fix]1、将原有的计时器替换为brpc的bthread,以此修复:删除计时器可能会无限期阻塞、fd重用竞速、计时器初始化包含一个竞选、…
Sherlock0203 Aug 24, 2026
72294b6
[fix]1、将原有的计时器替换为brpc的bthread,以此修复:删除计时器可能会无限期阻塞、fd重用竞速、计时器初始化包含一个竞选、…
Sherlock0203 Aug 25, 2026
02adaf7
[fix]修复魔鬼数字
Sherlock0203 Aug 27, 2026
3bf7a95
[fix]callback/delete生命周期竞态、del返回1时正确处理、add中的abstime正确赋值
Sherlock0203 Aug 27, 2026
90ce543
Merge remote-tracking branch 'origin/timer' into timer
Sherlock0203 Aug 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/actions/init-ut-make-config/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ inputs:
runs:
using: "composite"
steps:
- run: |
sudo apt-get update && sudo apt-get install -y clang-12 lldb-12 lld-12 libgtest-dev cmake gdb libstdc++6-11-dbg
shell: bash
- run: |
cd /usr/src/gtest && export CC=clang-12 && export CXX=clang++-12 && sudo cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .
sudo make -j ${{env.proc_num}} && sudo mv lib/libgtest* /usr/lib/
Expand Down
8 changes: 5 additions & 3 deletions .github/actions/install-all-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ runs:
using: "composite"
steps:
- uses: ./.github/actions/install-essential-dependencies
- run: sudo apt-get update && sudo apt-get install -y libunwind-dev libgoogle-glog-dev automake bison flex libboost-all-dev libevent-dev libtool pkg-config libibverbs-dev
shell: bash
with:
extra-packages: >-
ccache libunwind-dev libgoogle-glog-dev automake bison flex
libboost-all-dev libevent-dev libtool pkg-config
- run: |
wget https://archive.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz && tar -xf thrift-0.11.0.tar.gz && cd thrift-0.11.0/
./configure --prefix=/usr --with-rs=no --with-ruby=no --with-python=no --with-java=no --with-go=no --with-perl=no --with-php=no --with-csharp=no --with-erlang=no --with-lua=no --with-nodejs=no --with-haskell=no --with-dotnetcore=no CXXFLAGS="-Wno-unused-variable"
./configure --prefix=/usr --disable-tests --with-rs=no --with-ruby=no --with-python=no --with-java=no --with-go=no --with-perl=no --with-php=no --with-csharp=no --with-erlang=no --with-lua=no --with-nodejs=no --with-haskell=no --with-dotnetcore=no CXXFLAGS="-Wno-unused-variable"
make -j ${{env.proc_num}} && sudo make install
shell: bash
- run: |
Expand Down
11 changes: 10 additions & 1 deletion .github/actions/install-essential-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
inputs:
extra-packages:
description: Additional apt packages to install in the same transaction
required: false

runs:
using: "composite"
steps:
- run: ulimit -c unlimited -S && sudo bash -c "echo 'core.%e.%p' > /proc/sys/kernel/core_pattern"
shell: bash
- run: sudo apt-get update && sudo apt-get install -y git g++ make libssl-dev libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev redis-server mysql-server libibverbs-dev
- run: |
sudo apt-get update
sudo apt-get install -y git g++ make libssl-dev libgflags-dev \
libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev \
redis-server mysql-server libibverbs-dev ${{ inputs.extra-packages }}
shell: bash
- run: redis-server --version && mysqld --version
shell: bash
75 changes: 75 additions & 0 deletions .github/actions/setup-build-cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Setup build cache
description: Restore and configure the compiler cache used by CI builds

inputs:
kind:
description: Cache backend to configure (ccache or bazel)
required: true
cache-key:
description: Cache namespace override for matrix jobs
required: false

runs:
using: composite
steps:
- name: Restore ccache
if: inputs.kind == 'ccache'
uses: actions/cache@v6
with:
path: ~/.cache/ccache
key: ${{ runner.os }}-ccache-${{ inputs.cache-key || github.job }}--${{ github.sha }}
restore-keys: |
${{ runner.os }}-ccache-${{ inputs.cache-key || github.job }}--

- name: Configure ccache
if: inputs.kind == 'ccache'
shell: bash
run: |
if [[ "${{ runner.os }}" == "macOS" ]]; then
brew install ccache
fi

mkdir -p "${HOME}/.cache/ccache" "${HOME}/.cache/ccache-bin"
for compiler in cc c++ gcc g++ clang clang++ clang-12 clang++-12; do
ln -sf "$(command -v ccache)" "${HOME}/.cache/ccache-bin/${compiler}"
done
CCACHE_DIR="${HOME}/.cache/ccache" ccache --max-size=2G
CCACHE_DIR="${HOME}/.cache/ccache" ccache --zero-stats

echo "${HOME}/.cache/ccache-bin" >> "${GITHUB_PATH}"
echo "CCACHE_DIR=${HOME}/.cache/ccache" >> "${GITHUB_ENV}"
echo "CCACHE_BASEDIR=${GITHUB_WORKSPACE}" >> "${GITHUB_ENV}"
echo "CCACHE_COMPILERCHECK=content" >> "${GITHUB_ENV}"
echo "CCACHE_NOHASHDIR=true" >> "${GITHUB_ENV}"

- name: Restore Bazel repository cache
if: inputs.kind == 'bazel'
uses: actions/cache@v6
with:
path: |
~/.cache/bazel-repository
~/.cache/bazelisk
key: ${{ runner.os }}-bazel-repository-${{ hashFiles('.bazelversion', 'MODULE.bazel', 'MODULE.bazel.lock', 'WORKSPACE') }}
restore-keys: |
${{ runner.os }}-bazel-repository-

- name: Restore Bazel disk cache
if: inputs.kind == 'bazel'
uses: actions/cache@v6
with:
path: ~/.cache/bazel-disk
key: ${{ runner.os }}-bazel-disk-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-bazel-disk-${{ github.job }}-
${{ runner.os }}-bazel-disk-

- name: Configure Bazel caches
if: inputs.kind == 'bazel'
shell: bash
run: |
mkdir -p "${HOME}/.cache/bazel-repository" "${HOME}/.cache/bazel-disk"
cat >> "${HOME}/.bazelrc" <<EOF
common --repository_cache=${HOME}/.cache/bazel-repository
common --disk_cache=${HOME}/.cache/bazel-disk
test --cache_test_results=no
EOF
Loading