Merge branch 'pr_1920'

This commit is contained in:
ob-robot 2024-04-10 11:46:12 +00:00
commit 3d8cbbb756
3 changed files with 33 additions and 40 deletions

View File

@ -5,35 +5,32 @@
</p>
<p align="center">
<a href="https://github.com/oceanbase/oceanbase/blob/master/LICENSE">
<img alt="license" src="https://img.shields.io/badge/license-MulanPubL--2.0-blue" />
</a>
<a href="https://github.com/oceanbase/oceanbase/releases/latest">
<img alt="license" src="https://img.shields.io/badge/dynamic/json?color=blue&label=release&query=tag_name&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase%2Freleases%2Flatest" />
</a>
<a href="https://github.com/oceanbase/oceanbase">
<img alt="stars" src="https://img.shields.io/badge/dynamic/json?color=blue&label=stars&query=stargazers_count&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase" />
</a>
<a href="https://github.com/oceanbase/oceanbase">
<img alt="forks" src="https://img.shields.io/badge/dynamic/json?color=blue&label=forks&query=forks&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase" />
</a>
<a href="https://en.oceanbase.com/docs/oceanbase-database">
<img alt="English doc" src="https://img.shields.io/badge/docs-English-blue" />
</a>
<a href="https://www.oceanbase.com/docs/oceanbase-database-cn">
<img alt="Chinese doc" src="https://img.shields.io/badge/文档-简体中文-blue" />
</a>
<a href="https://github.com/oceanbase/oceanbase/actions/workflows/compile.yml">
<img alt="building status" src="https://img.shields.io/github/actions/workflow/status/oceanbase/oceanbase/compile.yml?branch=master" />
</a>
<a href="https://github.com/oceanbase/oceanbase/commits/master">
<img alt="last commit" src="https://img.shields.io/github/last-commit/oceanbase/oceanbase/master" />
</a>
<a href="https://github.com/oceanbase/oceanbase">
<img alt="stars" src="https://img.shields.io/badge/dynamic/json?color=blue&label=stars&query=stargazers_count&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase" />
</a>
<a href="https://github.com/oceanbase/oceanbase/actions/workflows/compile.yml">
<img alt="building status" src="https://img.shields.io/github/actions/workflow/status/oceanbase/oceanbase/compile.yml?branch=master" />
</a>
<a href="https://github.com/oceanbase/oceanbase/blob/master/LICENSE">
<img alt="license" src="https://img.shields.io/badge/license-MulanPubL--2.0-blue" />
</a>
</p>
<p align="center">
<a href="https://join.slack.com/t/oceanbase/shared_invite/zt-1e25oz3ol-lJ6YNqPHaKwY_mhhioyEuw">
<img alt="Join Slack" src="https://img.shields.io/badge/slack-Join%20Oceanbase-brightgreen?logo=slack" />
</a>
<a href="https://stackoverflow.com/questions/tagged/oceanbase">
<img alt="Ask on Stack Overflow" src="https://img.shields.io/badge/Stack-Ask%20on%20Stack%20Overflow-brightgreen?logo=stackoverflow" />
<img alt="Stack Overflow" src="https://img.shields.io/badge/Stack-Stack%20Overflow-brightgreen?logo=stackoverflow" />
</a>
</p>
@ -108,12 +105,11 @@ See also [Quick experience](https://en.oceanbase.com/docs/community-observer-en-
You can deploy and manage OceanBase Database instance in kubernetes cluster with [ob-operator](https://github.com/oceanbase/ob-operator) quickly. Refer to the document [Quick Start for ob-operator](https://oceanbase.github.io/ob-operator) to see details.
## 👨‍💻 Start developing
See [OceanBase Developer Document](https://github.com/oceanbase/oceanbase/wiki/Compile) to learn how to compile and deploy a manually compiled observer.
See [OceanBase Developer Document](https://oceanbase.github.io/oceanbase/build-and-run.html) to learn how to compile and deploy a manually compiled observer.
# Roadmap
For future plans, see [Roadmap 2023](https://github.com/oceanbase/oceanbase/issues/1364). See also [OceanBase Roadmap](https://github.com/orgs/oceanbase/projects) for more details.
For future plans, see [Product Iteration Progress](https://github.com/oceanbase/oceanbase/issues/1839). See also [OceanBase Roadmap](https://github.com/orgs/oceanbase/projects/4) for more details.
# Case study
@ -127,7 +123,7 @@ See also [success stories](https://en.oceanbase.com/customer/home) and [Who is u
# Contributing
Contributions are highly appreciated. Read the [development guide](docs/README.md) to get started.
Contributions are highly appreciated. Read the [development guide](https://oceanbase.github.io/oceanbase) to get started.
# License

View File

@ -4,35 +4,32 @@
</a>
</p>
<p align="center">
<a href="https://github.com/oceanbase/oceanbase/blob/master/LICENSE">
<img alt="license" src="https://img.shields.io/badge/license-MulanPubL--2.0-blue" />
</a>
<a href="https://github.com/oceanbase/oceanbase/releases/latest">
<img alt="license" src="https://img.shields.io/badge/dynamic/json?color=blue&label=release&query=tag_name&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase%2Freleases%2Flatest" />
</a>
<a href="https://github.com/oceanbase/oceanbase">
<img alt="stars" src="https://img.shields.io/badge/dynamic/json?color=blue&label=stars&query=stargazers_count&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase" />
</a>
<a href="https://github.com/oceanbase/oceanbase">
<img alt="forks" src="https://img.shields.io/badge/dynamic/json?color=blue&label=forks&query=forks&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase" />
<a href="https://www.oceanbase.com/docs/oceanbase-database-cn">
<img alt="Chinese doc" src="https://img.shields.io/badge/文档-简体中文-blue" />
</a>
<a href="https://en.oceanbase.com/docs/oceanbase-database">
<img alt="English doc" src="https://img.shields.io/badge/docs-English-blue" />
</a>
<a href="https://www.oceanbase.com/docs/oceanbase-database-cn">
<img alt="Chinese doc" src="https://img.shields.io/badge/文档-简体中文-blue" />
<a href="https://github.com/oceanbase/oceanbase/commits/master">
<img alt="last commit" src="https://img.shields.io/github/last-commit/oceanbase/oceanbase/master" />
</a>
<a href="https://github.com/oceanbase/oceanbase">
<img alt="stars" src="https://img.shields.io/badge/dynamic/json?color=blue&label=stars&query=stargazers_count&url=https%3A%2F%2Fapi.github.com%2Frepos%2Foceanbase%2Foceanbase" />
</a>
<a href="https://github.com/oceanbase/oceanbase/actions/workflows/compile.yml">
<img alt="building status" src="https://img.shields.io/github/actions/workflow/status/oceanbase/oceanbase/compile.yml?branch=master" />
</a>
<a href="https://github.com/oceanbase/oceanbase/commits/master">
<img alt="last commit" src="https://img.shields.io/github/last-commit/oceanbase/oceanbase/master" />
<a href="https://github.com/oceanbase/oceanbase/blob/master/LICENSE">
<img alt="license" src="https://img.shields.io/badge/license-MulanPubL--2.0-blue" />
</a>
</p>
<p align="center">
<a href="https://join.slack.com/t/oceanbase/shared_invite/zt-1e25oz3ol-lJ6YNqPHaKwY_mhhioyEuw">
<img alt="Join Slack" src="https://img.shields.io/badge/slack-Join%20Oceanbase-brightgreen?logo=slack" />
</a>
<a href="https://stackoverflow.com/questions/tagged/oceanbase">
<img alt="Ask on Stack Overflow" src="https://img.shields.io/badge/Stack-Ask%20on%20Stack%20Overflow-brightgreen?logo=stackoverflow" />
<img alt="Stack Overflow" src="https://img.shields.io/badge/Stack-Stack%20Overflow-brightgreen?logo=stackoverflow" />
</a>
</p>
@ -108,11 +105,11 @@ obd demo
## 👨‍💻 使用源码编译部署
参考 [OceanBase 开发者文档](https://github.com/oceanbase/oceanbase/wiki/Compile)了解如何编译和部署手动编译的observer。
参考 [OceanBase 开发者文档](https://oceanbase.github.io/oceanbase/build-and-run.html)了解如何编译和部署手动编译的observer。
# Roadmap
请参考 [Roadmap 2023](https://github.com/oceanbase/oceanbase/issues/1364) 了解OceanBase规划。 更多详细信息请参考 [OceanBase Roadmap](https://github.com/orgs/oceanbase/projects)。
请参考 [产品迭代进展](https://github.com/oceanbase/oceanbase/issues/1839) 了解OceanBase规划。 更多详细信息请参考 [OceanBase Roadmap](https://github.com/orgs/oceanbase/projects/4)。
# 案例
@ -126,7 +123,7 @@ OceanBase 已服务超过 1000 家来自不同行业的客户,包括金融服
# 社区贡献
非常欢迎社区贡献。请阅读[开发指南](docs/README.md)。
非常欢迎社区贡献。请阅读[开发指南](https://oceanbase.github.io/oceanbase)。
# License

View File

@ -407,7 +407,7 @@ int LogBlockHandler::inner_write_once_(const offset_t offset,
if (palf_reach_time_interval(PALF_IO_STAT_PRINT_INTERVAL_US, trace_time_)) {
const int64_t each_pwrite_cost = ob_pwrite_used_ts_ / count_;
PALF_LOG(INFO, "[PALF STAT WRITE LOG INFO TO DISK]", K(ret), K(offset), KPC(this), K(aligned_buf_len),
K(aligned_buf), K(aligned_block_offset), K(buf_len), K(total_write_size_),
K(aligned_block_offset), K(buf_len), K(total_write_size_),
K(total_write_size_after_dio_), K_(ob_pwrite_used_ts), K_(count), K(each_pwrite_cost));
total_write_size_ = total_write_size_after_dio_ = count_ = ob_pwrite_used_ts_ = 0;
}