From f7b529606a367b7b6abe533242304871345e8a9b Mon Sep 17 00:00:00 2001 From: discord9 Date: Thu, 20 Aug 2026 17:59:33 +0800 Subject: [PATCH] docs: map requested query channel backport Signed-off-by: discord9 --- backport-review/v1.2-beta2/README.md | 11 +-- .../aggregate-commit-provenance.tsv | 3 + .../v1.2-beta2/aggregate-commits.tsv | 3 + .../v1.2-beta2/decisions/README.md | 8 +-- .../dependency-and-baseline-adaptations.md | 2 +- .../decisions/event-context-compatibility.md | 45 ++++++++----- .../decisions/proto-lock-unflushed.md | 2 +- backport-review/v1.2-beta2/manual-deltas.md | 9 +++ .../v1.2-beta2/patch-id-verdict.tsv | 1 + .../v1.2-beta2/range-diffs/pr-8825.txt | 52 ++++++++++++++ .../v1.2-beta2/upstream-pr-map.tsv | 67 ++++++++++--------- 11 files changed, 142 insertions(+), 61 deletions(-) create mode 100644 backport-review/v1.2-beta2/range-diffs/pr-8825.txt diff --git a/backport-review/v1.2-beta2/README.md b/backport-review/v1.2-beta2/README.md index 47c8159baf2..c609d89eed7 100644 --- a/backport-review/v1.2-beta2/README.md +++ b/backport-review/v1.2-beta2/README.md @@ -4,15 +4,16 @@ - Release base: `8eeff8b4417e6fb675a66cecbdba40060322785c` - Aggregate branch: `work/release-v1.2-beta2-complete` -- Aggregate head: `b5c38fbfc15053f42d4c1d843204bbdd52cb4a00` -- Aggregate commits: 40 -- CI: [completed with conclusion `failure`](https://github.com/GreptimeTeam/greptimedb/actions/runs/32341712112) at aggregate HEAD `b5c38fbfc15053f42d4c1d843204bbdd52cb4a00`; failed jobs: Clippy, Check Unused Dependencies, and Check (ubuntu-latest). SQLness, Compatibility Test, binary builds, Rustfmt, license, and fuzz jobs passed; `test` was skipped downstream because Clippy and Check Unused Dependencies failed, while `coverage` was skipped independently because this was a `workflow_dispatch` run and coverage runs only for `merge_group`, not because of failed prerequisites. +- Aggregate head: `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab` +- Aggregate commits: 43 (40 previously recorded, plus two narrow test adaptations and the #8825 carrier, with the existing aggregate ancestry retained) +- CI: [completed with conclusion `failure`](https://github.com/GreptimeTeam/greptimedb/actions/runs/32341712112) at the pre-#8825 aggregate HEAD `b5c38fbfc15053f42d4c1d843204bbdd52cb4a00`; failed jobs: Clippy, Check Unused Dependencies, and Check (ubuntu-latest). SQLness, Compatibility Test, binary builds, Rustfmt, license, and fuzz jobs passed; `test` was skipped downstream because Clippy and Check Unused Dependencies failed, while `coverage` was skipped independently because this was a `workflow_dispatch` run and coverage runs only for `merge_group`, not because of failed prerequisites. No new CI result is claimed for #8825. - `release/v1.2` was not updated by this work. ## How to read the artifacts - **[Start here: canonical manual decision index](decisions/README.md)**: priority-ordered semantic concerns, exact differences, exclusions, compatibility impact, and reviewer file pointers. -- `range-diffs/pr-.txt`: final one-commit `git range-diff --creation-factor=100` from the upstream merged PR commit to the final aggregate carrier commit. These raw `.txt` files are **unabridged differences-only evidence**, not the complete shipping patch. +- PR #8825 mapping: upstream head `bf947141753a9ea554aa1ca31637fdd3ad1429f3`, merge `60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1`; carrier/final head `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab`. Requested by WenyXu in [Issue #8892 comment 5353700059](https://github.com/GreptimeTeam/greptimedb/issues/8892#issuecomment-5353700059). See [#8825 raw evidence](range-diffs/pr-8825.txt) and [event-context compatibility](decisions/event-context-compatibility.md). +- `range-diffs/pr-.txt`: normally a final one-commit `git range-diff --creation-factor=100` from the upstream merged PR commit to the final aggregate carrier commit. These raw `.txt` files are **unabridged differences-only evidence**, not the complete shipping patch; `pr-8825.txt` is explicitly raw metadata/command evidence because its upstream PR-head object is unavailable locally. - `patch-id-verdict.tsv`: stable patch IDs and `exact`/`adapted` verdicts. Patch-ID equality means patch equivalence; it does not claim the cherry-pick had no conflict. - `upstream-pr-map.tsv`: PR number, merged commit, state, URL, and title. - `aggregate-commit-provenance.tsv`: final aggregate commits, cherry-pick trailers, patch IDs, and subjects. @@ -22,7 +23,7 @@ ## Scope -The issue lists 31 PRs. #8672 and #8699 were already present in the release base. The other 29 were backported. The dependency closure also includes full #8734 and a release-compatible slice of #8392. +The review scope now has 32 explicit PRs: the original 31 plus #8825. #8672 and #8699 remain base-present in the release base; the other 30 explicit PRs are represented by backport mappings, with #8825 carried by `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab`. The dependency closure also includes full #8734 and a release-compatible slice of #8392. #8825 is classified as adapted, not exact: its shared Channel mapping is replayed on the release chain while the event-context compatibility decisions and narrow test adaptations are retained. ## Mapping classes diff --git a/backport-review/v1.2-beta2/aggregate-commit-provenance.tsv b/backport-review/v1.2-beta2/aggregate-commit-provenance.tsv index f75fd79dd41..0c44bf0f52b 100644 --- a/backport-review/v1.2-beta2/aggregate-commit-provenance.tsv +++ b/backport-review/v1.2-beta2/aggregate-commit-provenance.tsv @@ -38,3 +38,6 @@ a451a16cd06d1c1936baaf011991f2c3e3a0cc7e 1af4c335242e7e5e06ee91bc428a71bb631d079 94a4bb78b3bb8dab0a8ae773c57dc39b3598172f 3351de9102b6418207e49c090054b71cc632054d fix(event): convert legacy submission context once 6735127c5cde424d49f1fe0fe15917d7e7e93d83 abaac4c2bb47a8409cea5eb49a26ac3dcff3abc7 style: format beta2 aggregate backports b5c38fbfc15053f42d4c1d843204bbdd52cb4a00 3d6f2c76ef3f928a57b9505cb175e334685e33f0 fix: align aggregate lock with proto 335 +6c1424a8eef66dc2c3abf9a7be25a69f2ab69f33 668df91d76785b93a00f279916d2584646a56080 fix: adapt event context tests to release channel API +b75c72c18d39453cc693a594c64b68d31beb62c1 922a4f6141ea7ed051b9c891cb05bbcee0b51e69 fix: adapt frontend event context tests +b7fdcb89568dc707c323f8c0a3b9413ec4e889ab 60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1 unavailable refactor: share query channel definition (#8825) diff --git a/backport-review/v1.2-beta2/aggregate-commits.tsv b/backport-review/v1.2-beta2/aggregate-commits.tsv index 8c9779cd7d4..d1d064fe128 100644 --- a/backport-review/v1.2-beta2/aggregate-commits.tsv +++ b/backport-review/v1.2-beta2/aggregate-commits.tsv @@ -38,3 +38,6 @@ a451a16cd06d1c1936baaf011991f2c3e3a0cc7e refactor(event): separate procedure sub 94a4bb78b3bb8dab0a8ae773c57dc39b3598172f fix(event): convert legacy submission context once 6735127c5cde424d49f1fe0fe15917d7e7e93d83 style: format beta2 aggregate backports b5c38fbfc15053f42d4c1d843204bbdd52cb4a00 fix: align aggregate lock with proto 335 +6c1424a8eef66dc2c3abf9a7be25a69f2ab69f33 fix: adapt event context tests to release channel API +b75c72c18d39453cc693a594c64b68d31beb62c1 fix: adapt frontend event context tests +b7fdcb89568dc707c323f8c0a3b9413ec4e889ab refactor: share query channel definition (#8825) diff --git a/backport-review/v1.2-beta2/decisions/README.md b/backport-review/v1.2-beta2/decisions/README.md index 9c4a1eedcb6..722d9c00303 100644 --- a/backport-review/v1.2-beta2/decisions/README.md +++ b/backport-review/v1.2-beta2/decisions/README.md @@ -2,7 +2,7 @@ **Start here.** This is the canonical, priority-ordered index of behavior that was reconstructed, sliced, folded, or adapted for v1.2.0-beta.2. The aggregate head -is [`b5c38fb`](https://github.com/GreptimeTeam/greptimedb/commit/b5c38fbfc15053f42d4c1d843204bbdd52cb4a00); +is [`b7fdcb895`](https://github.com/GreptimeTeam/greptimedb/commit/b7fdcb89568dc707c323f8c0a3b9413ec4e889ab); links to the shipping commits below are immutable commit links. A range-diff is an audit of the *difference between two patches*, not the full @@ -11,7 +11,7 @@ not edited. ## Canonical CI status -The recorded [GitHub Actions run 32341712112](https://github.com/GreptimeTeam/greptimedb/actions/runs/32341712112) completed with conclusion **failure** at aggregate HEAD `b5c38fbfc15053f42d4c1d843204bbdd52cb4a00`. Failed jobs were **Clippy**, **Check Unused Dependencies**, and **Check (ubuntu-latest)**. **SQLness**, **Compatibility Test**, binary builds, **Rustfmt**, license, and fuzz jobs passed. **`test` was skipped downstream because Clippy and Check Unused Dependencies failed, while `coverage` was skipped independently because this was a `workflow_dispatch` run and coverage runs only for `merge_group`, not because of failed prerequisites.** This is recorded CI evidence only; local verification claims remain limited to the existing top-level README and `manual-deltas.md`. +The recorded [GitHub Actions run 32341712112](https://github.com/GreptimeTeam/greptimedb/actions/runs/32341712112) completed with conclusion **failure** at the pre-#8825 aggregate HEAD `b5c38fbfc15053f42d4c1d843204bbdd52cb4a00`; #8825 now advances the final aggregate head to `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab`. Failed jobs were **Clippy**, **Check Unused Dependencies**, and **Check (ubuntu-latest)**. **SQLness**, **Compatibility Test**, binary builds, **Rustfmt**, license, and fuzz jobs passed. **`test` was skipped downstream because Clippy and Check Unused Dependencies failed, while `coverage` was skipped independently because this was a `workflow_dispatch` run and coverage runs only for `merge_group`, not because of failed prerequisites.** This is recorded CI evidence only; local verification claims remain limited to the existing top-level README and `manual-deltas.md`. ## 1. BLOCKING / compatibility decisions @@ -26,7 +26,7 @@ The recorded [GitHub Actions run 32341712112](https://github.com/GreptimeTeam/gr | --- | --- | --- | --- | --- | | **Adapted chain; implemented Unflushed path retained** | [#8726](https://github.com/GreptimeTeam/greptimedb/commit/9f724aa5f6466a3e90c4f6407f2f6e00211ed925), [#8768](https://github.com/GreptimeTeam/greptimedb/commit/78084a9d4485ee61ff03e071f6428fc57c906332), [#8856](https://github.com/GreptimeTeam/greptimedb/commit/1af4c335242e7e5e06ee91bc428a71bb631d0798) | [#8726](https://github.com/GreptimeTeam/greptimedb/commit/45309752df03f6a5fdda03d741727637de28ed01) → [#8768](https://github.com/GreptimeTeam/greptimedb/commit/cf69ee5df93bb8a6ab43337c4941e103a12c6f2e) → [#8856](https://github.com/GreptimeTeam/greptimedb/commit/a451a16cd06d1c1936baaf011991f2c3e3a0cc7e), [lock/alignment extras](https://github.com/GreptimeTeam/greptimedb/commit/b5c38fbfc15053f42d4c1d843204bbdd52cb4a00) | Proto revisions #333/#334/#335 are staged against the release lock; final aggregate keeps `RegionRequest::Truncate(Unflushed)` and includes the release consumer signature. | [Proto and unflushed lock](proto-lock-unflushed.md) | | **Adapted and folded; compatibility validation retained** | [#8579](https://github.com/GreptimeTeam/greptimedb/commit/bbc91ea637516c4657a8cdb9f40289f126b9ef61) + [#8818](https://github.com/GreptimeTeam/greptimedb/commit/cd6efa0abf6ec99737ad8bce36376c4946023edc) | [reconstructed carrier](https://github.com/GreptimeTeam/greptimedb/commit/a7c296cf46cc4f1ce0241231cbb8b8031dfb1bcf) | #8818 metadata rules are folded into #8579; unrelated #8615 lifecycle APIs are not imported. | [Remote schema validation](remote-schema-validation.md) | -| **Adapted; legacy event context remains visible** | [#8734](https://github.com/GreptimeTeam/greptimedb/commit/1f1c9270a806658d2c3d9700c8cd1445d687f89f), [#8834](https://github.com/GreptimeTeam/greptimedb/commit/72f6cf09bf7f7d78c84514163554ad2a29fc7f05), [#8835](https://github.com/GreptimeTeam/greptimedb/commit/943eee852f292bfffd7240867dc27248216c353f), [#8852](https://github.com/GreptimeTeam/greptimedb/commit/154f90b3652bf9b1b3e7eccc5f277f856a2f3079) | [#8734](https://github.com/GreptimeTeam/greptimedb/commit/408929ffd8bad5aa75547274ab62e667f90a449c), [#8834](https://github.com/GreptimeTeam/greptimedb/commit/e712162bd37f3e4aca3d339991c453153a3639fa), [#8835](https://github.com/GreptimeTeam/greptimedb/commit/0d5585ba332fe63374ae72e5745643465bb78fc4), [#8852](https://github.com/GreptimeTeam/greptimedb/commit/4cb869ace4f9ac05c3cd6a470c6dad19cdd82491), [rolling fallback](https://github.com/GreptimeTeam/greptimedb/commit/587f001adfee05e4446fbb1b14c51afad4647bc1), [single conversion](https://github.com/GreptimeTeam/greptimedb/commit/94a4bb78b3bb8dab0a8ae773c57dc39b3598172f) | Release APIs retain `channel_protocol(u8)` and legacy QueryContext conversion; builder imports use release context types while AdminFunctionRecordingLayer stays installed. | [Event context compatibility](event-context-compatibility.md) | +| **Adapted; shared Channel plus legacy event-context compatibility** | [#8734](https://github.com/GreptimeTeam/greptimedb/commit/1f1c9270a806658d2c3d9700c8cd1445d687f89f), [#8834](https://github.com/GreptimeTeam/greptimedb/commit/72f6cf09bf7f7d78c84514163554ad2a29fc7f05), [#8835](https://github.com/GreptimeTeam/greptimedb/commit/943eee852f292bfffd7240867dc27248216c353f), [#8852](https://github.com/GreptimeTeam/greptimedb/commit/154f90b3652bf9b1b3e7eccc5f277f856a2f3079), [#8825](https://github.com/GreptimeTeam/greptimedb/commit/60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1) | [#8734](https://github.com/GreptimeTeam/greptimedb/commit/408929ffd8bad5aa75547274ab62e667f90a449c), [#8834](https://github.com/GreptimeTeam/greptimedb/commit/e712162bd37f3e4aca3d339991c453153a3639fa), [#8835](https://github.com/GreptimeTeam/greptimedb/commit/0d5585ba332fe63374ae72e5745643465bb78fc4), [#8852](https://github.com/GreptimeTeam/greptimedb/commit/4cb869ace4f9ac05c3cd6a470c6dad19cdd82491), [#8825 carrier](https://github.com/GreptimeTeam/greptimedb/commit/b7fdcb89568dc707c323f8c0a3b9413ec4e889ab), [rolling fallback](https://github.com/GreptimeTeam/greptimedb/commit/587f001adfee05e4446fbb1b14c51afad4647bc1), [single conversion](https://github.com/GreptimeTeam/greptimedb/commit/94a4bb78b3bb8dab0a8ae773c57dc39b3598172f) | #8825 replaces `common_session::channel_protocol` with shared `common_base::protocol::Channel` while preserving old-frontend fallback and exactly-once protobuf → PersistentEventContext → ProcedureEventInput conversion; schemas are unchanged. | [Event context compatibility](event-context-compatibility.md) | ## 3. Reconstructed/folded semantics @@ -51,7 +51,7 @@ These entries are intentionally not given separate concern pages: stable patch-I | **Exact stable patch-ID** | #8777, #8832, #8787, #8849, #8859, #8889, #8833, #8600, #8808, #8709, #8522, #8739, #8772 | [ff8ea6d](https://github.com/GreptimeTeam/greptimedb/commit/ff8ea6d87d94401469813a05b9c9f87ead95836e), [f47fcbc](https://github.com/GreptimeTeam/greptimedb/commit/f47fcbc1658b5752982bf387fc1a4ac1abd1001d), [6c3f63f](https://github.com/GreptimeTeam/greptimedb/commit/6c3f63f05b477ef340f57f57981736f1bc3a4e6), [926d9bb](https://github.com/GreptimeTeam/greptimedb/commit/926d9bbd0ff038254c218e6e0e67de91a324e3c6), [00c2d7a](https://github.com/GreptimeTeam/greptimedb/commit/00c2d7a1a32b32cd3badb253f81cf79dd6445e6f), [a3de6c4](https://github.com/GreptimeTeam/greptimedb/commit/a3de6c4fa8cc9ff22faa844a08e6ff7f9fde8835), [66a13cb](https://github.com/GreptimeTeam/greptimedb/commit/66a13cb3b74457a1be1f28d7faaa3994280f3df4), [1ad6c2a](https://github.com/GreptimeTeam/greptimedb/commit/1ad6c2a1cdaa129bf744c4d3d70188916fba223e), [b632625](https://github.com/GreptimeTeam/greptimedb/commit/b6326257d1babcc8cf016af59b92ebfcdee862ae), [efe75d4](https://github.com/GreptimeTeam/greptimedb/commit/efe75d408b77312facd46adf411497bdfb375690), [ea747c5](https://github.com/GreptimeTeam/greptimedb/commit/ea747c53036afa8ba7ed4b19dd2531db95460e43), [f89d60a](https://github.com/GreptimeTeam/greptimedb/commit/f89d60adee3e8ad817fdbe2f2cf36aa660b0c717), [6e5cd11](https://github.com/GreptimeTeam/greptimedb/commit/6e5cd114b31cdb0a8ea6323e5d7f8c5c23198541) (in the same order) | Patch-equivalent to each upstream PR; any cherry-pick conflict is a replay detail, not a semantic delta. | No separate page; see audit TSVs and raw range-diffs | | **Base-present** | #8672, #8699 | Release base `8eeff8b4417e6fb675a66cecbdba40060322785c` (no aggregate carrier) | Already present in beta2 before this aggregate; no backport patch ships for either PR. | No separate page; see [`README.md`](../README.md) scope | -Exact entries with nearby context can be reviewed from [dependency and baseline adaptations](dependency-and-baseline-adaptations.md) and the [event context page](event-context-compatibility.md). +Exact entries with nearby context can be reviewed from [dependency and baseline adaptations](dependency-and-baseline-adaptations.md) and the [event context page](event-context-compatibility.md). The complete 32-explicit-PR mapping, plus dependency #8734 and slice #8392, is indexed in [`upstream-pr-map.tsv`](../upstream-pr-map.tsv), [`patch-id-verdict.tsv`](../patch-id-verdict.tsv), and [`aggregate-commit-provenance.tsv`](../aggregate-commit-provenance.tsv). ## Recorded verification context diff --git a/backport-review/v1.2-beta2/decisions/dependency-and-baseline-adaptations.md b/backport-review/v1.2-beta2/decisions/dependency-and-baseline-adaptations.md index a5633825e6b..7a1e9fa6d65 100644 --- a/backport-review/v1.2-beta2/decisions/dependency-and-baseline-adaptations.md +++ b/backport-review/v1.2-beta2/decisions/dependency-and-baseline-adaptations.md @@ -8,7 +8,7 @@ Immutable upstream commits: [#8860](https://github.com/GreptimeTeam/greptimedb/c ## Resulting backport patch — what ships -Carriers are [#8860](https://github.com/GreptimeTeam/greptimedb/commit/0ffca14740493d0c1afa556908345d9e135d7656), [#8858](https://github.com/GreptimeTeam/greptimedb/commit/065d0dfaadc2d6252adc5a671ec0658cfd51d4d6), and [#8898](https://github.com/GreptimeTeam/greptimedb/commit/e2a85ff19b00edba80640123b17166704a0c1117), with [final lock alignment](https://github.com/GreptimeTeam/greptimedb/commit/b5c38fbfc15053f42d4c1d843204bbdd52cb4a00). +Carriers are [#8860](https://github.com/GreptimeTeam/greptimedb/commit/0ffca14740493d0c1afa556908345d9e135d7656), [#8858](https://github.com/GreptimeTeam/greptimedb/commit/065d0dfaadc2d6252adc5a671ec0658cfd51d4d6), and [#8898](https://github.com/GreptimeTeam/greptimedb/commit/e2a85ff19b00edba80640123b17166704a0c1117), with [final lock alignment](https://github.com/GreptimeTeam/greptimedb/commit/b5c38fbfc15053f42d4c1d843204bbdd52cb4a00) before the #8825 carrier. ## Relative to original PR — exact differences diff --git a/backport-review/v1.2-beta2/decisions/event-context-compatibility.md b/backport-review/v1.2-beta2/decisions/event-context-compatibility.md index b1a6d8cd037..62c6d866238 100644 --- a/backport-review/v1.2-beta2/decisions/event-context-compatibility.md +++ b/backport-review/v1.2-beta2/decisions/event-context-compatibility.md @@ -1,43 +1,53 @@ -# Event context compatibility (#8734, #8834, #8835, #8852) +# Event context compatibility (#8734, #8834, #8835, #8852, #8825) -**Status:** adapted mixed-version event-context chain. Rolling compatibility extras are part of what ships. +**Status:** adapted mixed-version event-context chain. Rolling compatibility extras and the shared Channel carrier are part of what ships. ## Original PR patch — intended upstream behavior -Immutable upstream patches: [#8734](https://github.com/GreptimeTeam/greptimedb/commit/1f1c9270a806658d2c3d9700c8cd1445d687f89f) adds event context; [#8834](https://github.com/GreptimeTeam/greptimedb/commit/72f6cf09bf7f7d78c84514163554ad2a29fc7f05) centralizes conversion; [#8835](https://github.com/GreptimeTeam/greptimedb/commit/943eee852f292bfffd7240867dc27248216c353f) records admin executions; [#8852](https://github.com/GreptimeTeam/greptimedb/commit/154f90b3652bf9b1b3e7eccc5f277f856a2f3079) hardens permissions and visibility. +Immutable upstream patches: [#8734](https://github.com/GreptimeTeam/greptimedb/commit/1f1c9270a806658d2c3d9700c8cd1445d687f89f) adds event context; [#8834](https://github.com/GreptimeTeam/greptimedb/commit/72f6cf09bf7f7d78c84514163554ad2a29fc7f05) centralizes conversion; [#8835](https://github.com/GreptimeTeam/greptimedb/commit/943eee852f292bfffd7240867dc27248216c353f) records admin executions; [#8852](https://github.com/GreptimeTeam/greptimedb/commit/154f90b3652bf9b1b3e7eccc5f277f856a2f3079) hardens permissions and visibility. PR #8825 upstream has head `bf947141753a9ea554aa1ca31637fdd3ad1429f3` and merge commit [60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1](https://github.com/GreptimeTeam/greptimedb/commit/60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1), requested by WenyXu in [Issue #8892 comment 5353700059](https://github.com/GreptimeTeam/greptimedb/issues/8892#issuecomment-5353700059). ## Resulting backport patch — what ships -Carriers are [#8734](https://github.com/GreptimeTeam/greptimedb/commit/408929ffd8bad5aa75547274ab62e667f90a449c), [#8834](https://github.com/GreptimeTeam/greptimedb/commit/e712162bd37f3e4aca3d339991c453153a3639fa), [#8835](https://github.com/GreptimeTeam/greptimedb/commit/0d5585ba332fe63374ae72e5745643465bb78fc4), and [#8852](https://github.com/GreptimeTeam/greptimedb/commit/4cb869ace4f9ac05c3cd6a470c6dad19cdd82491). Rolling extras [legacy fallback](https://github.com/GreptimeTeam/greptimedb/commit/587f001adfee05e4446fbb1b14c51afad4647bc1) and [single conversion](https://github.com/GreptimeTeam/greptimedb/commit/94a4bb78b3bb8dab0a8ae773c57dc39b3598172f) complete compatibility. The aggregate head is [b5c38fb](https://github.com/GreptimeTeam/greptimedb/commit/b5c38fbfc15053f42d4c1d843204bbdd52cb4a00). +Carriers are [#8734](https://github.com/GreptimeTeam/greptimedb/commit/408929ffd8bad5aa75547274ab62e667f90a449c), [#8834](https://github.com/GreptimeTeam/greptimedb/commit/e712162bd37f3e4aca3d339991c453153a3639fa), [#8835](https://github.com/GreptimeTeam/greptimedb/commit/0d5585ba332fe63374ae72e5745643465bb78fc4), and [#8852](https://github.com/GreptimeTeam/greptimedb/commit/4cb869ace4f9ac05c3cd6a470c6dad19cdd82491). The #8825 carrier is [b7fdcb89568dc707c323f8c0a3b9413ec4e889ab](https://github.com/GreptimeTeam/greptimedb/commit/b7fdcb89568dc707c323f8c0a3b9413ec4e889ab), which is also the aggregate final head. Rolling extras [legacy fallback](https://github.com/GreptimeTeam/greptimedb/commit/587f001adfee05e4446fbb1b14c51afad4647bc1) and [single conversion](https://github.com/GreptimeTeam/greptimedb/commit/94a4bb78b3bb8dab0a8ae773c57dc39b3598172f) complete compatibility. The narrow test adaptations [6c1424a8](https://github.com/GreptimeTeam/greptimedb/commit/6c1424a8eef66dc2c3abf9a7be25a69f2ab69f33) and [b75c72c18](https://github.com/GreptimeTeam/greptimedb/commit/b75c72c18d39453cc693a594c64b68d31beb62c1) are retained and not reverted. + +## PR #8825 mapping and exact conflict resolution + +#8825 introduces the shared `common_base::protocol::Channel` and re-exports it as `session::context::Channel`. Its stable wire values and names are unchanged (`Unknown = 0`, `Mysql = 1` through `Splunk = 14`), and out-of-range values still map to `Unknown`. Session SQL-dialect mapping is retained through the `dialect_for_channel` helper. `common-meta` now derives protocol names from the shared `Channel`. + +The semantic conflict resolution is deliberate: the shared Channel mapping replaces `common_session::channel_protocol`, but it does **not** replace the existing mixed-version event-context compatibility. The aggregate preserves the old-frontend fallback when protobuf `event_context` is omitted and preserves exactly-once protobuf → `PersistentEventContext` → `ProcedureEventInput` conversion. Actor/event JSON and protobuf schemas are unchanged. Therefore #8825 is classified as **adapted**, not exact: the shared mapping is integrated while the release compatibility behavior remains. ## Relative to original PR — exact differences -| Aspect | Original PR | Backport | Why | -| --- | --- | --- | --- | -| Channel handling (#8834) | Upstream Channel enum handling | Release `common_session::channel_protocol(u8)` and legacy QueryContext conversion | Match beta2 protocol/context APIs; visible mixed-version item | -| Builder context (#8835) | Upstream builder imports/API | Release `CatalogManagerRef` plus `EventRecorderRef` context | Match release builder surface | -| Recording layer | Admin execution recording | `AdminFunctionRecordingLayer` remains installed | Preserve intended event recording | -| #8852 conflict | Upstream file context | Both Flow imports and `api::v1::greptime_request::Request` retained | Resolve aggregate conflict without dropping either behavior | -| Rolling input | New protobuf event context | Legacy QueryContext/extensions fallback, then one persistent conversion | Support old frontends that omit `event_context` | +| Aspect | Upstream | Backport / reason | +| --- | --- | --- | +| Channel definition | Channel is shared by the upstream common/session consumers | `common_base::protocol::Channel` is shared; `session::context::Channel` re-exports it | +| Mapping | Stable wire values/names and Unknown behavior | Unchanged; common-meta uses shared Channel instead of `common_session::channel_protocol` | +| Session dialect | Channel-owned dialect behavior in upstream context | Release `dialect_for_channel` helper retained | +| Old frontends | Newer event-context path | Existing fallback for omitted protobuf `event_context` retained | +| Conversion | Centralized event context conversion | Exactly-once protobuf → `PersistentEventContext` → `ProcedureEventInput` retained | +| Schemas | Existing actor/event JSON and protobuf schema | Unchanged | +| Tests | Upstream test context | Narrow release adaptations `6c1424a8` and `b75c72c18` retained | ## Intentionally excluded/not provided -Upstream Channel-enum handling is not used in the release path. No claim is made that old frontends supply protobuf `event_context`; the legacy fallback is the compatibility path. Unrelated event changes are excluded. +No schema change is introduced by #8825. No claim is made that old frontends supply protobuf `event_context`; the legacy fallback remains the compatibility path. Unrelated event changes are excluded. ## Compatibility and rollback impact -This is a mixed-version boundary: old frontend messages may omit `event_context`, so fallback conversion must remain available. Rolling back only centralization or only the fallback can lose actor/channel context or duplicate conversion. Review the chain together. +This is a mixed-version boundary: old frontend messages may omit `event_context`, so fallback conversion must remain available. Shared Channel unifies protocol mapping but does not authorize removing the fallback or the one-time conversion. Rolling back only centralization, only #8825, or only the fallback can lose actor/channel context or duplicate conversion. Review the chain together. ## Files reviewers should inspect -- `src/common/session/src/lib.rs`: inspect `channel_protocol(u8)` and legacy channel mapping. +- `src/common/base/src/protocol.rs`: inspect the shared Channel enum, stable values/names, and Unknown mapping. +- `src/session/src/context.rs`: inspect the re-export and `dialect_for_channel` helper. +- `src/common/meta/src/rpc/ddl.rs`: inspect protocol derivation from shared Channel. - `src/meta-srv/src/service/procedure.rs`: inspect actor/submission handling and legacy fallback. - `src/operator/` and event/procedure builders: inspect `CatalogManagerRef`, `EventRecorderRef`, and one-time conversion. -- `src/frontend/src/instance.rs`: inspect the #8852 import conflict resolution and Flow/request imports. +- `src/frontend/src/instance.rs`: inspect the #8852 import conflict resolution and retained test adaptation. ## Verification evidence already recorded -Recorded CI status is documented in the [canonical CI status](README.md#canonical-ci-status): run 32341712112 at aggregate HEAD completed with **failure**. No new test result is claimed. +Recorded CI status is documented in the [canonical CI status](README.md#canonical-ci-status): the pre-#8825 run 32341712112 completed with **failure**. No new test result is claimed. ## Raw audit evidence — unabridged differences only @@ -45,5 +55,6 @@ Recorded CI status is documented in the [canonical CI status](README.md#canonica - [`range-diffs/pr-8834.txt`](../range-diffs/pr-8834.txt) - [`range-diffs/pr-8835.txt`](../range-diffs/pr-8835.txt) - [`range-diffs/pr-8852.txt`](../range-diffs/pr-8852.txt) +- [`range-diffs/pr-8825.txt`](../range-diffs/pr-8825.txt) — raw metadata/command evidence; upstream PR-head object was unavailable, so no range-diff is fabricated. -Each range-diff shows differences between patches, not the full shipping patch. +The existing `.txt` range-diffs are unabridged differences-only evidence. The #8825 evidence file is explicitly labeled because it records exact metadata and failed commands rather than pretending to contain an upstream-to-carrier range-diff. diff --git a/backport-review/v1.2-beta2/decisions/proto-lock-unflushed.md b/backport-review/v1.2-beta2/decisions/proto-lock-unflushed.md index f8319271bf4..d258e0fbbf7 100644 --- a/backport-review/v1.2-beta2/decisions/proto-lock-unflushed.md +++ b/backport-review/v1.2-beta2/decisions/proto-lock-unflushed.md @@ -8,7 +8,7 @@ Immutable upstream commits: [#8726](https://github.com/GreptimeTeam/greptimedb/c ## Resulting backport patch — what ships -The carriers are [#8726](https://github.com/GreptimeTeam/greptimedb/commit/45309752df03f6a5fdda03d741727637de28ed01), [#8768](https://github.com/GreptimeTeam/greptimedb/commit/cf69ee5df93bb8a6ab43337c4941e103a12c6f2e), and [#8856](https://github.com/GreptimeTeam/greptimedb/commit/a451a16cd06d1c1936baaf011991f2c3e3a0cc7e). Release extra [0e477aa](https://github.com/GreptimeTeam/greptimedb/commit/0e477aa945d03dd131376cfff1f5cec0c3b47a69) restores selected beta2 lock dependency edges/versions and documents the distributed Flow NULL-field contract; [94a4bb7](https://github.com/GreptimeTeam/greptimedb/commit/94a4bb78b3bb8dab0a8ae773c57dc39b3598172f) performs event submission-context conversion and is not proto/Unflushed behavior; [b5c38fb](https://github.com/GreptimeTeam/greptimedb/commit/b5c38fbfc15053f42d4c1d843204bbdd52cb4a00) performs final proto #335 lock alignment. Proto revisions are #333, #334, and #335 respectively. +The carriers are [#8726](https://github.com/GreptimeTeam/greptimedb/commit/45309752df03f6a5fdda03d741727637de28ed01), [#8768](https://github.com/GreptimeTeam/greptimedb/commit/cf69ee5df93bb8a6ab43337c4941e103a12c6f2e), and [#8856](https://github.com/GreptimeTeam/greptimedb/commit/a451a16cd06d1c1936baaf011991f2c3e3a0cc7e). Release extra [0e477aa](https://github.com/GreptimeTeam/greptimedb/commit/0e477aa945d03dd131376cfff1f5cec0c3b47a69) restores selected beta2 lock dependency edges/versions and documents the distributed Flow NULL-field contract; [94a4bb7](https://github.com/GreptimeTeam/greptimedb/commit/94a4bb78b3bb8dab0a8ae773c57dc39b3598172f) performs event submission-context conversion and is not proto/Unflushed behavior; [b5c38fb](https://github.com/GreptimeTeam/greptimedb/commit/b5c38fbfc15053f42d4c1d843204bbdd52cb4a00) performs final proto #335 lock alignment before the #8825 carrier. Proto revisions are #333, #334, and #335 respectively. ## Relative to original PR — exact differences diff --git a/backport-review/v1.2-beta2/manual-deltas.md b/backport-review/v1.2-beta2/manual-deltas.md index c3122e4b758..66692d0ffaa 100644 --- a/backport-review/v1.2-beta2/manual-deltas.md +++ b/backport-review/v1.2-beta2/manual-deltas.md @@ -74,6 +74,15 @@ The canonical reviewer index is [`decisions/README.md`](decisions/README.md). Th ## Platform / Event +### #8825 — adapted +- Upstream PR head: `bf947141753a9ea554aa1ca31637fdd3ad1429f3`; merge: `60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1`. +- Requested by WenyXu in [Issue #8892 comment 5353700059](https://github.com/GreptimeTeam/greptimedb/issues/8892#issuecomment-5353700059). +- Aggregate carrier and final head: `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab`. +- Adds shared `common_base::protocol::Channel`, re-exports it as `session::context::Channel`, and retains stable wire values/names and `Unknown` behavior. Session dialect mapping remains through the `dialect_for_channel` helper; common-meta derives protocol names from shared `Channel`. +- Semantic conflict resolution is explicit: shared mapping replaces `common_session::channel_protocol`, but the aggregate preserves the old-frontend fallback for omitted protobuf `event_context` and exactly-once protobuf → `PersistentEventContext` → `ProcedureEventInput` conversion. Actor/event JSON and protobuf schemas are unchanged. +- Narrow test adaptations `6c1424a8` and `b75c72c18` are retained and not reverted. +- Raw evidence: [`range-diffs/pr-8825.txt`](range-diffs/pr-8825.txt). The upstream PR-head object is unavailable locally, so no range-diff is fabricated. + ### #8852 — adapted - Aggregate: `4cb869ace4f9ac05c3cd6a470c6dad19cdd82491`. - Aggregate conflict in `src/frontend/src/instance.rs` was a single test import adjacent to Flow changes. Retained both Flow imports and #8852's `api::v1::greptime_request::Request`. diff --git a/backport-review/v1.2-beta2/patch-id-verdict.tsv b/backport-review/v1.2-beta2/patch-id-verdict.tsv index e8447e0c0d8..e8ebb22ac7e 100644 --- a/backport-review/v1.2-beta2/patch-id-verdict.tsv +++ b/backport-review/v1.2-beta2/patch-id-verdict.tsv @@ -28,3 +28,4 @@ 8898 b882e393dfadcf9406c76d1017fe64e0652f0202 e2a85ff19b00edba80640123b17166704a0c1117 adapted 20c6e75d39478540eb55e9575cff338049c37534 ceefa76a00da94894314399bc81e175e287e2c68 8734 1f1c9270a806658d2c3d9700c8cd1445d687f89f 408929ffd8bad5aa75547274ab62e667f90a449c adapted ab20d55099081bfe76b5e6821b1b0b644be18b32 2b5b810e3e4abe600108650ecf64eaeb354821fa 8392 cabc2f6cc667291d7bc3dcbb8f9cc82e27bd93a0 0b6702b7ccc0d0fdbd5f53490743dee6a197f516 adapted 288b8990db827c0d0f4e11a0f20e0f77fdbf4991 49fecedeb0ec2f57c348307f5fdcfc558de42c59 +8825 bf947141753a9ea554aa1ca31637fdd3ad1429f3 b7fdcb89568dc707c323f8c0a3b9413ec4e889ab adapted unavailable unavailable diff --git a/backport-review/v1.2-beta2/range-diffs/pr-8825.txt b/backport-review/v1.2-beta2/range-diffs/pr-8825.txt new file mode 100644 index 00000000000..2b63a42f86d --- /dev/null +++ b/backport-review/v1.2-beta2/range-diffs/pr-8825.txt @@ -0,0 +1,52 @@ +# PR #8825 raw evidence (range-diff unavailable) + +**Classification:** adapted; this file is raw provenance/command evidence, not a fabricated range-diff. + +## Immutable upstream and aggregate metadata + +- PR: [#8825](https://github.com/GreptimeTeam/greptimedb/pull/8825) +- Requested by: WenyXu, [Issue #8892 comment 5353700059](https://github.com/GreptimeTeam/greptimedb/issues/8892#issuecomment-5353700059) +- Upstream PR head: `bf947141753a9ea554aa1ca31637fdd3ad1429f3` +- Upstream merge commit: `60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1` +- Upstream merge subject: `refactor: share query channel definition (#8825)` +- Upstream compare: [PR head to merge commit](https://github.com/GreptimeTeam/greptimedb/compare/bf947141753a9ea554aa1ca31637fdd3ad1429f3...60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1) +- Aggregate carrier: `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab` +- Aggregate carrier parent: `b75c72c18d39453cc693a594c64b68d31beb62c1` +- Aggregate carrier link: [b7fdcb89568dc707c323f8c0a3b9413ec4e889ab](https://github.com/GreptimeTeam/greptimedb/commit/b7fdcb89568dc707c323f8c0a3b9413ec4e889ab) +- Aggregate final head: `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab` +- Narrow release test adaptations retained before the carrier: `6c1424a8eef66dc2c3abf9a7be25a69f2ab69f33`, `b75c72c18d39453cc693a594c64b68d31beb62c1`. + +## Why no range-diff is recorded + +The upstream PR-head object is not available in this checkout. The upstream merge object and aggregate carrier objects are available. Consequently, no upstream-to-carrier range-diff is asserted or fabricated here. + +## Exact commands attempted and errors + +```text +$ git cat-file -e bf947141753a9ea554aa1ca31637fdd3ad1429f3^{commit} +fatal: Not a valid object name bf947141753a9ea554aa1ca31637fdd3ad1429f3^{commit} + +$ git show --no-patch --format=fuller bf947141753a9ea554aa1ca31637fdd3ad1429f3 +fatal: bad object bf947141753a9ea554aa1ca31637fdd3ad1429f3 + +$ git range-diff --creation-factor=100 bf947141753a9ea554aa1ca31637fdd3ad1429f3^..bf947141753a9ea554aa1ca31637fdd3ad1429f3 60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1^..b7fdcb89568dc707c323f8c0a3b9413ec4e889ab +fatal: bad revision 'bf947141753a9ea554aa1ca31637fdd3ad1429f3^..bf947141753a9ea554aa1ca31637fdd3ad1429f3' +``` + +The available-object checks succeeded for `60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1` and `b7fdcb89568dc707c323f8c0a3b9413ec4e889ab`. The carrier has parent `b75c72c18d39453cc693a594c64b68d31beb62c1`. + +For reference only, the available-object patch IDs were calculated from the two one-parent commit diffs as follows; they are not presented as a range-diff: + +```text +$ git diff 60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1^ 60c7bbcaf30a0e65ad7fa2b2b8ad0c1199a662b1 | git patch-id --stable +ebeb5334a33792aa6eb9616cc1c223c6eb9ee149 0000000000000000000000000000000000000000 + +$ git diff b7fdcb89568dc707c323f8c0a3b9413ec4e889ab^ b7fdcb89568dc707c323f8c0a3b9413ec4e889ab | git patch-id --stable +aa99de142ed1b40a210193150b353e691cc3ebf4 0000000000000000000000000000000000000000 +``` + +## Reviewer-readable mapping + +The carrier introduces `common_base::protocol::Channel` and re-exports it as `session::context::Channel`. The stable wire values and names, including `Unknown` behavior, are unchanged. Session SQL-dialect selection remains through the `dialect_for_channel` helper. `common-meta` now derives protocol names from the shared `Channel`; the old `common_session::channel_protocol` mapping is replaced by that shared mapping. + +The aggregate intentionally preserves the old-frontend fallback for omitted protobuf `event_context` and the exactly-once protobuf → `PersistentEventContext` → `ProcedureEventInput` conversion. Actor/event JSON and protobuf schemas are unchanged. The narrow test adaptations in `6c1424a8` and `b75c72c18` are retained and were not reverted. diff --git a/backport-review/v1.2-beta2/upstream-pr-map.tsv b/backport-review/v1.2-beta2/upstream-pr-map.tsv index 942ca69493d..217c0a0454e 100644 --- a/backport-review/v1.2-beta2/upstream-pr-map.tsv +++ b/backport-review/v1.2-beta2/upstream-pr-map.tsv @@ -1,33 +1,34 @@ -8729 70470bafbe38df2d3fd21e70e1e7097ffd7317c6 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8729 fix(flow): fix flow stats aggregation and df_plan_to_sql quoting -8672 2afcd4a55858da28bb4feeaf0fb4b12b32454422 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8672 fix: enforce permissions for restricted HTTP endpoints -8699 88606f0dffb4a569a5b21617805f667c3138eda8 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8699 fix(metric-engine): prevent stale metadata cache fills -8777 1aadfa565c32332146e9628dd82455f0f59ce3da MERGED https://github.com/GreptimeTeam/greptimedb/pull/8777 fix: cache physical table metadata lookups -8852 154f90b3652bf9b1b3e7eccc5f277f856a2f3079 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8852 fix: harden permission checks and process visibility -8858 6249623cfb181b0222dfc03224945c625f326f1a MERGED https://github.com/GreptimeTeam/greptimedb/pull/8858 chore: remove iceberg read -8832 00e45c860222195367943942b8ec21fef46b7cf5 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8832 test: fix unknown channel event context expectation -8787 32e215cad0aa0803991d751bc7b4f44ac1865e62 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8787 fix(event): preserve procedure lifecycle locators -8834 72f6cf09bf7f7d78c84514163554ad2a29fc7f05 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8834 refactor(procedure): centralize event context handling -8835 943eee852f292bfffd7240867dc27248216c353f MERGED https://github.com/GreptimeTeam/greptimedb/pull/8835 feat(event): record admin function executions -8856 1af4c335242e7e5e06ee91bc428a71bb631d0798 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8856 refactor(event): separate procedure submission context -8849 ed4271af403e6fa8898287ddd735c1c984644af7 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8849 feat(procedure): record event actor -8860 f2ffaef9dfee134fa46d54ba65e6f40b37982cef MERGED https://github.com/GreptimeTeam/greptimedb/pull/8860 feat: update to pgwire 0.40.7 -8824 3510ef7d4c13f9afa3ad8fdafa8842f98dfd5cb3 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8824 feat!: update native histogram unsigned int types -8859 c3cd186997538e2ed665ed32ce1755baf62bd857 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8859 fix(query): respect query timezone in timestamp casts -8889 10f587bc30071f230c979da6c0d3ebbf1d736698 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8889 fix(query): preserve timestamp literal semantics in inserts -8745 95d9d92e42bfaa3338cf460bdb031803e29368bf MERGED https://github.com/GreptimeTeam/greptimedb/pull/8745 refactor: separate a json2 extension type -8833 6538db6d618279f640958c40cdbb5a1796fb40cd MERGED https://github.com/GreptimeTeam/greptimedb/pull/8833 refactor(json2): push down json2 type hints to parquet reads -8600 c59ec0154e83d1d50113ed3334585ca37eaba064 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8600 feat(mito2): discard unflushed region data safely -8726 9f724aa5f6466a3e90c4f6407f2f6e00211ed925 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8726 feat: make frontend heartbeat extensible and lifecycle-safe -8768 78084a9d4485ee61ff03e071f6428fc57c906332 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8768 feat: add admin function to discard unflushed data -8872 3c80df043a46f0511bd81a64a072ca18436efac3 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8872 fix(mito2): keep deletion markers when compacting part of a window -8808 e4175475bb7e630cefefa189b17282b063868a49 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8808 fix(mito): re-encode bulk WAL entry after filling missing columns -8709 d3b10d13a5712868d72969b4a453ae786f0d60e3 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8709 fix(mito2): fail open when Bloom IN predicate has non-literal or unencodable members -8522 fbbe5af76744eb93067a3bed099834656d7da4d6 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8522 fix(query): avoid unsafe count wildcard rewrites -8579 bbc91ea637516c4657a8cdb9f40289f126b9ef61 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8579 fix(query): validate merge scan remote schema -8818 cd6efa0abf6ec99737ad8bce36376c4946023edc MERGED https://github.com/GreptimeTeam/greptimedb/pull/8818 fix(query): ignore field metadata in MergeScan remote schema validation -8739 97ca104129536075fcd7329a924db8c40ef88d7f MERGED https://github.com/GreptimeTeam/greptimedb/pull/8739 fix(frontend): remove gRPC DDL panics for DropView and non-timestamp time index -8772 9241e96fa2ea8ed3132e38dea93c655337d24040 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8772 fix(metric-engine): handle Utf8View tag/label columns without panicking -8659 d90cca4b752b34d7ccdb54fe8445ce3bf832e5e0 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8659 fix(prometheus): custom column remote reads -8898 b882e393dfadcf9406c76d1017fe64e0652f0202 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8898 feat: update dashboard to v0.13.13 -8734 1f1c9270a806658d2c3d9700c8cd1445d687f89f MERGED https://github.com/GreptimeTeam/greptimedb/pull/8734 feat(event): add event context to procedure events -8392 cabc2f6cc667291d7bc3dcbb8f9cc82e27bd93a0 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8392 feat(flow): add information_schema.flow_statistics and SHOW FLOW STATUS (#7987) +8729 70470bafbe38df2d3fd21e70e1e7097ffd7317c6 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8729 fix(flow): fix flow stats aggregation and df_plan_to_sql quoting +8672 2afcd4a55858da28bb4feeaf0fb4b12b32454422 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8672 fix: enforce permissions for restricted HTTP endpoints +8699 88606f0dffb4a569a5b21617805f667c3138eda8 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8699 fix(metric-engine): prevent stale metadata cache fills +8777 1aadfa565c32332146e9628dd82455f0f59ce3da MERGED https://github.com/GreptimeTeam/greptimedb/pull/8777 fix: cache physical table metadata lookups +8852 154f90b3652bf9b1b3e7eccc5f277f856a2f3079 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8852 fix: harden permission checks and process visibility +8858 6249623cfb181b0222dfc03224945c625f326f1a MERGED https://github.com/GreptimeTeam/greptimedb/pull/8858 chore: remove iceberg read +8832 00e45c860222195367943942b8ec21fef46b7cf5 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8832 test: fix unknown channel event context expectation +8787 32e215cad0aa0803991d751bc7b4f44ac1865e62 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8787 fix(event): preserve procedure lifecycle locators +8834 72f6cf09bf7f7d78c84514163554ad2a29fc7f05 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8834 refactor(procedure): centralize event context handling +8835 943eee852f292bfffd7240867dc27248216c353f MERGED https://github.com/GreptimeTeam/greptimedb/pull/8835 feat(event): record admin function executions +8856 1af4c335242e7e5e06ee91bc428a71bb631d0798 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8856 refactor(event): separate procedure submission context +8849 ed4271af403e6fa8898287ddd735c1c984644af7 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8849 feat(procedure): record event actor +8860 f2ffaef9dfee134fa46d54ba65e6f40b37982cef MERGED https://github.com/GreptimeTeam/greptimedb/pull/8860 feat: update to pgwire 0.40.7 +8824 3510ef7d4c13f9afa3ad8fdafa8842f98dfd5cb3 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8824 feat!: update native histogram unsigned int types +8859 c3cd186997538e2ed665ed32ce1755baf62bd857 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8859 fix(query): respect query timezone in timestamp casts +8889 10f587bc30071f230c979da6c0d3ebbf1d736698 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8889 fix(query): preserve timestamp literal semantics in inserts +8745 95d9d92e42bfaa3338cf460bdb031803e29368bf MERGED https://github.com/GreptimeTeam/greptimedb/pull/8745 refactor: separate a json2 extension type +8833 6538db6d618279f640958c40cdbb5a1796fb40cd MERGED https://github.com/GreptimeTeam/greptimedb/pull/8833 refactor(json2): push down json2 type hints to parquet reads +8600 c59ec0154e83d1d50113ed3334585ca37eaba064 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8600 feat(mito2): discard unflushed region data safely +8726 9f724aa5f6466a3e90c4f6407f2f6e00211ed925 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8726 feat: make frontend heartbeat extensible and lifecycle-safe +8768 78084a9d4485ee61ff03e071f6428fc57c906332 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8768 feat: add admin function to discard unflushed data +8872 3c80df043a46f0511bd81a64a072ca18436efac3 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8872 fix(mito2): keep deletion markers when compacting part of a window +8808 e4175475bb7e630cefefa189b17282b063868a49 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8808 fix(mito): re-encode bulk WAL entry after filling missing columns +8709 d3b10d13a5712868d72969b4a453ae786f0d60e3 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8709 fix(mito2): fail open when Bloom IN predicate has non-literal or unencodable members +8522 fbbe5af76744eb93067a3bed099834656d7da4d6 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8522 fix(query): avoid unsafe count wildcard rewrites +8579 bbc91ea637516c4657a8cdb9f40289f126b9ef61 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8579 fix(query): validate merge scan remote schema +8818 cd6efa0abf6ec99737ad8bce36376c4946023edc MERGED https://github.com/GreptimeTeam/greptimedb/pull/8818 fix(query): ignore field metadata in MergeScan remote schema validation +8739 97ca104129536075fcd7329a924db8c40ef88d7f MERGED https://github.com/GreptimeTeam/greptimedb/pull/8739 fix(frontend): remove gRPC DDL panics for DropView and non-timestamp time index +8772 9241e96fa2ea8ed3132e38dea93c655337d24040 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8772 fix(metric-engine): handle Utf8View tag/label columns without panicking +8659 d90cca4b752b34d7ccdb54fe8445ce3bf832e5e0 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8659 fix(prometheus): custom column remote reads +8898 b882e393dfadcf9406c76d1017fe64e0652f0202 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8898 feat: update dashboard to v0.13.13 +8734 1f1c9270a806658d2c3d9700c8cd1445d687f89f MERGED https://github.com/GreptimeTeam/greptimedb/pull/8734 feat(event): add event context to procedure events +8392 cabc2f6cc667291d7bc3dcbb8f9cc82e27bd93a0 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8392 feat(flow): add information_schema.flow_statistics and SHOW FLOW STATUS (#7987) +8825 bf947141753a9ea554aa1ca31637fdd3ad1429f3 MERGED https://github.com/GreptimeTeam/greptimedb/pull/8825 refactor: share query channel definition