Skip to content

Commit

Permalink
Merge branch 'ApsaraDB:POLARDB_11_DEV' into POLARDB_11_DEV
Browse files Browse the repository at this point in the history
  • Loading branch information
HBKO authored Jul 18, 2023
2 parents a9ec808 + 95aeb5b commit c8e9302
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 164 deletions.
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ psql -h 127.0.0.1 -c 'select version();'

## 参与贡献

我们诚挚欢迎社区参与 PolarDB 的贡献,无论是代码还是文档。在线文档中的 [参与社区](https://apsaradb.github.io/PolarDB-for-PostgreSQL/zh/contributing/code-of-conduct.html) 提供了关于贡献流程与规范的更多信息。
我们诚挚欢迎社区参与 PolarDB 的贡献,无论是代码还是文档。

以下是贡献者列表(由 [contrib.rocks](https://contrib.rocks) 支持):

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ If you want to explore or develop documentation locally, see [Document Contribut

## Contributing

You are welcome to make contributions to PolarDB, no matter code or documentation. We appreciate all the contributions. For more information about how to start development and pull requests, see [Community](https://apsaradb.github.io/PolarDB-for-PostgreSQL/contributing/code-of-conduct.html).
You are welcome to make contributions to PolarDB, no matter code or documentation.

Here are the contributors:

Expand Down
4 changes: 0 additions & 4 deletions docs/.vuepress/configs/navbar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ export const en: NavbarConfig = [
text: "Contributing",
link: "/contributing/",
children: [
{
text: "Code of Conduct",
link: "/contributing/code-of-conduct.html",
},
{
text: "Contributing Docs",
link: "/contributing/contributing-polardb-docs.html",
Expand Down
4 changes: 0 additions & 4 deletions docs/.vuepress/configs/navbar/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ export const zh: NavbarConfig = [
text: "参与社区",
link: "/zh/contributing/",
children: [
{
text: "行为准则",
link: "/zh/contributing/code-of-conduct.html",
},
{
text: "贡献文档",
link: "/zh/contributing/contributing-polardb-docs.html",
Expand Down
1 change: 0 additions & 1 deletion docs/.vuepress/configs/sidebar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export const en: SidebarConfig = {
"/contributing/contributing-polardb-kernel.md",
"/contributing/contributing-polardb-docs.md",
"/contributing/coding-style.md",
"/contributing/code-of-conduct.md",
],
},
],
Expand Down
1 change: 0 additions & 1 deletion docs/.vuepress/configs/sidebar/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export const zh: SidebarConfig = {
"/zh/contributing/contributing-polardb-kernel.md",
"/zh/contributing/contributing-polardb-docs.md",
"/zh/contributing/coding-style.md",
"/zh/contributing/code-of-conduct.md",
],
},
],
Expand Down
1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ psql -h 127.0.0.1 -c 'select version();'
<div class="feature">
<h3>Contributing</h3>
<ul style="position: relative;z-index: 10;">
<li><a href="./contributing/code-of-conduct.html">Code of Conduct</a></li>
<li><a href="./contributing/contributing-polardb-docs.html">Contributing Documentation</a></li>
<li><a href="./contributing/contributing-polardb-kernel.html">Contributing Code</a></li>
<li><a href="./contributing/coding-style">Coding Style</a></li>
Expand Down
72 changes: 0 additions & 72 deletions docs/contributing/code-of-conduct.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/contributing/contributing-polardb-kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ New features will be merged to `POLARDB_11_DEV`, and will be merged to `POLARDB_

## Before Contributing

- Read and follow our [Code of Conduct](./code-of-conduct.md).
- Sign the [CLA](https://gist.github.com/alibaba-oss/151a13b0a72e44ba471119c7eb737d74) of PolarDB for PostgreSQL

## Contributing
Expand Down
1 change: 0 additions & 1 deletion docs/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ psql -h 127.0.0.1 -c 'select version();'
<div class="feature">
<h3>社区贡献</h3>
<ul style="position: relative;z-index: 10;">
<li><a href="./contributing/code-of-conduct.html">行为准则</a></li>
<li><a href="./contributing/contributing-polardb-docs.html">贡献文档</a></li>
<li><a href="./contributing/contributing-polardb-kernel.html">贡献代码</a></li>
<li><a href="./contributing/coding-style">编码风格</a></li>
Expand Down
76 changes: 0 additions & 76 deletions docs/zh/contributing/code-of-conduct.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/zh/contributing/contributing-polardb-kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ PolarDB for PostgreSQL 基于 PostgreSQL 和其它开源项目进行开发,我

## 贡献代码之前

- 阅读并遵守我们的 [行为准则](./code-of-conduct.md)
- 签署 PolarDB for PostgreSQL 的 [CLA](https://gist.github.com/alibaba-oss/151a13b0a72e44ba471119c7eb737d74)

## 贡献流程
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ BEGIN
PERFORM 'SELECT accesssharelock from polar_stat_lock';
PERFORM 'SELECT accesssharelock from polar_stat_lock';
PERFORM 'SELECT accesssharelock from polar_stat_lock';
-- Normal query statements may not access ProcArray because polar_csn_enable is enabled by default.
EXECUTE 'checkpoint';

SELECT sh_acquire_count INTO STRICT after FROM polar_stat_lwlock WHERE name='ProcArrayLock';

Expand Down
2 changes: 2 additions & 0 deletions external/polar_monitor_preload/sql/polar_monitor_preload.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ BEGIN
PERFORM 'SELECT accesssharelock from polar_stat_lock';
PERFORM 'SELECT accesssharelock from polar_stat_lock';
PERFORM 'SELECT accesssharelock from polar_stat_lock';
-- Normal query statements may not access ProcArray because polar_csn_enable is enabled by default.
EXECUTE 'checkpoint';

SELECT sh_acquire_count INTO STRICT after FROM polar_stat_lwlock WHERE name='ProcArrayLock';

Expand Down

0 comments on commit c8e9302

Please sign in to comment.