# 被外部贡献者“卷”到了｜ Greptime 双周精选

Source: https://greptime.cn/blogs/2023-11-16-biweekly

## 内容概述

作为一个成长中的开源项目，GreptimeDB 的进展离不开来自全球的社区贡献者们，感谢各位！

在过去两周中，我们砥砺前行。以下是这段时间的总结：

- 修复基于 AWS S3 执行 compaction 出现 EntityTooSmall 的问题，我们会尽快发布 v0.4.3；

- KV PaginationStream 支持自适应降低 PageSize；

- 支持配置参数 PhiAccrualFailureDetector；

- 全新模块 region migration 和 inverted index 开发中。

## 社区贡献者名单

在过去的两周里，GreptimeDB 共合并了 56 个 PR，其中有 3 位独立贡献者，累计 10 个 PR 被成功合并，还有很多待合并的 PR。

祝贺以下各位在过去 2 周内成为我们活跃的贡献者：

- @[fbs](https://github.com/fbs) ([promql#76](https://github.com/GreptimeTeam/promql-parser/pull/76))

- @[NiwakaDev](https://github.com/NiwakaDev) ([db#2630](https://github.com/GreptimeTeam/greptimedb/pull/2630) [db#2679](https://github.com/GreptimeTeam/greptimedb/pull/2679) [db#2643](https://github.com/GreptimeTeam/greptimedb/pull/2643))

- @[tisonkun](https://github.com/tisonkun) ([db#2731](https://github.com/GreptimeTeam/greptimedb/pull/2731) [db#2719](https://github.com/GreptimeTeam/greptimedb/pull/2719) [db#2724](https://github.com/GreptimeTeam/greptimedb/pull/2724) [db#2714](https://github.com/GreptimeTeam/greptimedb/pull/2714) [db#2709](https://github.com/GreptimeTeam/greptimedb/pull/2709) [db#2710](https://github.com/GreptimeTeam/greptimedb/pull/2710))

👏 欢迎 @[fbs](https://github.com/fbs) 贡献者作为新的贡献者加入社区，并成功合并了首个 PR！GreptimeDB 社区衷心地感谢 @[tisonkun](https://github.com/tisonkun) 成员在近两周、甚至近一个月内为我们贡献了多个 PRs，仅本次双周报的时间里就为我们贡献了 6 个 PRs。对他的高效贡献表示 respect👍，还有更多来自他的 PRs 正在等待合并。

同时衷心感谢我们所有的成员和贡献者！是你们的付出让我们的项目得以成功，也是你们让 GreptimeDB 成为一个更优质的产品。让我们一起努力，建立一个更棒的社区！

## PR 亮点

### [db#2712](https://github.com/GreptimeTeam/greptimedb/pull/2712) 修复了基于 AWS S3 执行 compaction 出现 EntityTooSmall 的问题，我们将会尽快发布 v0.4.3

### [db#2689](https://github.com/GreptimeTeam/greptimedb/pull/2689) KV PaginationStream 支持自适应降低 PageSize

当请求 KV range 接口的 response 超过 grpc 消息大小限制时，那么 PaginationStream 会自适应地减少 PageSize 并进行重试。

### [db#2709](https://github.com/GreptimeTeam/greptimedb/pull/2709) [db#2724](https://github.com/GreptimeTeam/greptimedb/pull/2724) 支持配置参数 PhiAccrualFailureDetector

此前 PhiAccrualFailureDetector 只能采用默认值，而上面的 PRs 已经允许我们在 Metasrv 的配置文件中对其进行自定义设置了。

### [db#2693](https://github.com/GreptimeTeam/greptimedb/pull/2693) [db#2703](https://github.com/GreptimeTeam/greptimedb/pull/2703) Region migration 和 inverted index 开发中

最近 GreptimeDB 的工程师们在埋头研发 region migration 和 inverted index，将使 GreptimeDB 具备集群负载再平衡的能力，部分查询场景性能也会显著提升。详细部分设计可参考上面的 RFC 文档。

## 新鲜事

### [gtctl#175](https://github.com/GreptimeTeam/gtctl/pull/175) 

增加 kubectl 风格的插件功能，使 gtctl 支持以子命令形式启动插件。

### [gtctl#177](https://github.com/GreptimeTeam/gtctl/pull/177)

重构了原有的命令行内部实现，从而让 gtctl 命令行的内部实现更加干净。

## Good First Issue

### [db#1529](https://github.com/GreptimeTeam/greptimedb/issues/1529)  

从 tokio-console 导出 tokio 运行时指标。

困难指数：🌟🌟🌟

## 关于 Greptime

[Greptime 格睿科技](https://greptime.cn/)专注于为可观测、物联网及车联网等领域提供实时、高效的数据存储和分析服务，帮助客户挖掘数据的深层价值。目前基于云原生的时序数据库 [GreptimeDB](https://github.com/GreptimeTeam/greptimedb) 已经衍生出多款适合不同用户的解决方案，更多信息或 demo 展示请联系下方小助手（微信号：greptime）。

欢迎对开源感兴趣的朋友们参与贡献和讨论，从带有 good first issue 标签的 issue 开始你的开源之旅吧～期待在开源社群里遇见你！添加小助手微信即可加入“技术交流群”与志同道合的朋友们面对面交流哦~

Star us on GitHub Now: https://github.com/GreptimeTeam/greptimedb

官网：https://greptime.cn/

文档：https://docs.greptime.cn/

Twitter: https://twitter.com/Greptime

Slack: https://greptime.com/slack

LinkedIn: https://www.linkedin.com/company/greptime/
