diff --git a/.github/workflows/ci-pull-request.yaml b/.github/workflows/ci-pull-request.yaml index d60ab024cd..0509499f71 100644 --- a/.github/workflows/ci-pull-request.yaml +++ b/.github/workflows/ci-pull-request.yaml @@ -27,14 +27,11 @@ jobs: runs-on: ubuntu-latest container: image: apachepegasus/clang-format-3.9 - defaults: - run: - working-directory: /root/incubator-pegasus steps: - - name: Clone Apache Pegasus Source - working-directory: /root - run: | - git clone --recursive --depth=1 https://github.com/apache/incubator-pegasus.git + - uses: actions/checkout@v2 + with: + fetch-depth: 1 + submodules: true - name: clang-format run: ./rdsn/scripts/linux/run-clang-format.py --clang-format-executable clang-format-3.9 -e ./src/shell/linenoise -e ./src/shell/sds -e ./rdsn -r ./src diff --git a/src/server/info_collector.h b/src/server/info_collector.h index c8012321a5..65312a0957 100644 --- a/src/server/info_collector.h +++ b/src/server/info_collector.h @@ -76,9 +76,9 @@ class info_collector recent_write_throttling_reject_count->set( row_stats.total_recent_write_throttling_reject_count); recent_read_throttling_delay_count->set( - row_stats.total_recent_read_throttling_delay_count); + row_stats.total_recent_read_throttling_delay_count); recent_read_throttling_reject_count->set( - row_stats.total_recent_read_throttling_reject_count); + row_stats.total_recent_read_throttling_reject_count); storage_mb->set(row_stats.total_storage_mb); storage_count->set(row_stats.total_storage_count); rdb_block_cache_hit_rate->set( diff --git a/src/server/table_stats.h b/src/server/table_stats.h index cf9e10edac..c3bafcdc06 100644 --- a/src/server/table_stats.h +++ b/src/server/table_stats.h @@ -117,9 +117,9 @@ struct table_stats total_recent_write_throttling_reject_count += row_stats.total_recent_write_throttling_reject_count; total_recent_read_throttling_delay_count += - row_stats.total_recent_read_throttling_delay_count; + row_stats.total_recent_read_throttling_delay_count; total_recent_read_throttling_reject_count += - row_stats.total_recent_read_throttling_reject_count; + row_stats.total_recent_read_throttling_reject_count; total_storage_mb += row_stats.total_storage_mb; total_storage_count += row_stats.total_storage_count; total_rdb_block_cache_hit_count += row_stats.total_rdb_block_cache_hit_count;