GreptimeTeam/greptimedb

Compatibility test suit

Open

#3,728 创建于 2024年4月17日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Rust (495 fork)github user discovery
help wanted

仓库指标

Star
 (6,332 star)
PR 合并指标
 (PR 指标待抓取)

描述

What type of enhancement is this?

Tech debt reduction, User experience

What does the enhancement do?

With DB going stable, we should care about backward compatibility and forward compatibility between essential versions.

There is an existing compatibility test suit which leverages sqlness as harness. But it has some problems:

  • Depending on a "bug" behavior of sqlness https://github.com/GreptimeTeam/greptimedb/pull/3724
  • Doesn't aware of feature version. I.e., some features are not available in the old version, and we may deprecate some features in the new version. Mechanisms like #[since(v0.7.0)] and #[till(v0.8.0)] looks necessary to compatibility test.
  • It's based on bash script 😣 Prefer Rust/Python/Go etc that are easy to maintain

Implementation challenges

No response

贡献者指南