暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Region 重分区支持 & 向量索引构建|Greptime 双周精选第 74 期

GreptimeDB 2026-01-16
49

内容概述

开发周期:2025-12-29 - 2026-01-11

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

近期主要更新:

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

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

贡献者

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

特别感谢本期活跃独立贡献者:

PR 亮点

Region 重分区流程

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

  • db#7534[4]:实现 region 分配阶段,包括 WAL 选项、region 路由分配与元数据更新
  • db#7509[5]:补齐 manifest 重新映射与 staging manifest 应用的 datanode 处理逻辑,以及对应的 meta-srv 状态机
  • db#7548[6]:在 DdlManager
     中接入 region 重分区,使 ALTER TABLE 能提交 region 重分区

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

db#7468[7] feat: impl vector index building

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

Good First Issue

Issue#7314[8]  支持内置 daemon 模式

  • 新增 --daemon
     CLI 参数,让 GreptimeDB 能作为后台进程运行,不依赖 shell 会话,类似 Redis 的 daemonize 选项。
  • 关键词:CLI, daemon mode
  • 难度:Medium

Issue#6095[9] 让 events/logs 接受 x-greptime-pipeline-name 请求头

  • OTEL 协议支持通过 x-greptime-pipeline-name
     请求头指定 pipeline 名称,但 /events/logs
     端点目前不支持。这种不一致性对用户不友好。这个增强将让 /events/logs
     端点与 OTEL 协议行为保持一致。
  • 关键词:API, HTTP, OTEL, pipeline
  • 难度:Easy

关于 Greptime

Greptime 格睿科技专注于打造新一代可观测性数据库,服务开发者与企业用户,覆盖从边缘设备到云端企业级部署的多样化需求。

  • GreptimeDB 开源版:开源、云原生,统一处理指标、日志和追踪数据,适合中小规模 IoT 与可观测性场景;
  • GreptimeDB 企业版:面向关键业务,提供更高性能、高安全性、高可用性和智能化运维服务;

欢迎加入开源社区参与贡献与交流!推荐从带有 good first issue
 标签的任务入手,一起共建可观测未来。添加微信小助手: greptime 参与技术交流!

  • ⭐ Star us on GitHub: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/

往期精彩文章:

Reference
[1] 

@Standing-Man: https://github.com/Standing-Man

[2] 

db#7506https://github.com/GreptimeTeam/greptimedb/pull/7506

[3] 

db#7476https://github.com/GreptimeTeam/greptimedb/pull/7476

[4] 

db#7534https://github.com/GreptimeTeam/greptimedb/pull/7534

[5] 

db#7509https://github.com/GreptimeTeam/greptimedb/pull/7509

[6] 

db#7548https://github.com/GreptimeTeam/greptimedb/pull/7548

[7] 

db#7468https://github.com/GreptimeTeam/greptimedb/pull/7468

[8] 

Issue#7314https://github.com/GreptimeTeam/greptimedb/issues/7314

[9] 

Issue#6095https://github.com/GreptimeTeam/greptimedb/issues/6095


文章转载自GreptimeDB,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论