# Region 重分区支持 & 向量索引构建｜Greptime 双周精选 - No. 74

Source: https://greptime.cn/blogs/2026-01-11-greptimedb-biweekly-report

## 内容概述

*开发周期：2025-12-29 - 2026-01-11*

GreptimeDB 作为一个持续成长的开源项目，离不开全球社区贡献者的支持，感谢大家！

近期主要更新：

- DDL 操作集成 Region 重分区流程
- 支持构建向量索引，加速相似性搜索

建议使用旧版本的用户升级到最新版本以获得更好的体验。

## 贡献者

过去两周，共有 **11 位贡献者**合并了 **39 个 PR**。其中 **1 位独立贡献者**贡献了 **2 个 PR**。

本期活跃独立贡献者：

- [@Standing-Man](https://github.com/Standing-Man) [db#7506](https://github.com/GreptimeTeam/greptimedb/pull/7506) [db#7476](https://github.com/GreptimeTeam/greptimedb/pull/7476)

## PR 亮点


### Region 重分区流程

一系列 PR 完成了 region 重分区功能的完整实现：

- [db#7534](https://github.com/GreptimeTeam/greptimedb/pull/7534)：实现 region 分配阶段，包括 WAL 选项、region 路由分配与元数据更新
- [db#7509](https://github.com/GreptimeTeam/greptimedb/pull/7509)：补齐 manifest 重新映射与 staging manifest 应用的 datanode 处理逻辑，以及对应的 meta-srv 状态机
- [db#7548](https://github.com/GreptimeTeam/greptimedb/pull/7548)：在 `DdlManager` 中接入 region 重分区，使 ALTER TABLE 能提交 region 重分区

预计随本月发布的 RC1 版本一并推出。

### [db#7468](https://github.com/GreptimeTeam/greptimedb/pull/7468) feat: impl vector index building

基于 USearch 实现 HNSW 算法的向量索引构建基础设施，支持在 SST flush 和 compaction 过程中进行向量索引构建。


## Good First Issue

### [Issue#7314](https://github.com/GreptimeTeam/greptimedb/issues/7314) 支持内置 daemon 模式

新增 --daemon CLI 参数，让 GreptimeDB 能作为后台进程运行，不依赖 shell 会话，类似 Redis 的 daemonize 选项。

关键词：CLI, daemon mode

难度：Medium

### [Issue#6095](https://github.com/GreptimeTeam/greptimedb/issues/6095) 让 /events/logs 接受 x-greptime-pipeline-name 请求头

OTEL 协议支持通过 `x-greptime-pipeline-name` 请求头指定 pipeline 名称，但 `/events/logs` 端点目前不支持。这种不一致性对用户不友好。这个增强将让 `/events/logs` 端点与 OTEL 协议行为保持一致。

关键词：API, HTTP, OTEL, pipeline

难度：Easy
