Skip to content

add TiKV grpc-compression-type changes to release notes (#21079) #21084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #21079

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions (in Chinese).

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch
@ti-chi-bot ti-chi-bot added lgtm size/S Denotes a PR that changes 10-29 lines, ignoring generated files. type/cherry-pick-for-release-8.1 This PR is cherry-picked to release-8.1 from a source PR. labels May 30, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @ti-chi-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

Hello! Gemini here, providing a summary of this pull request. This PR is an automated cherry-pick aimed at updating the release notes for several TiDB versions. Specifically, it adds a 'Compatibility changes' entry to document the expanded scope of the TiKV configuration item server.grpc-compression-type. Previously, this setting only affected communication between TiKV nodes, but starting from the versions updated in this PR, it also applies to gRPC response messages sent from TiKV to TiDB. The documentation notes that enabling this compression might increase CPU usage.

Highlights

  • Documentation Update: Adds documentation to release notes for multiple TiDB versions (6.5.11, 7.1.6, 7.5.3, 8.1.1) regarding a compatibility change.
  • TiKV Configuration Change Scope: Documents that the server.grpc-compression-type configuration item in TiKV now affects gRPC responses sent to TiDB, in addition to inter-TiKV communication. This change is noted as potentially increasing CPU resource consumption.

Changelog

  • releases/release-6.5.11.md
    • Updated the summary metadata to include 'compatibility changes' (line 3).
    • Added a new '## Compatibility changes' section (line 14).
    • Added a bullet point detailing the change in scope for the server.grpc-compression-type configuration item, noting its effect on TiKV to TiDB responses starting from v6.5.11 (lines 16-19).
  • releases/release-7.1.6.md
    • Added a bullet point detailing the change in scope for the server.grpc-compression-type configuration item, noting its effect on TiKV to TiDB responses starting from v7.1.6 (lines 19-22).
  • releases/release-7.5.3.md
    • Added a bullet point detailing the change in scope for the server.grpc-compression-type configuration item, noting its effect on TiKV to TiDB responses starting from v7.5.3 (lines 17-20).
  • releases/release-8.1.1.md
    • Added a bullet point detailing the change in scope for the server.grpc-compression-type configuration item, noting its effect on TiKV to TiDB responses starting from v8.1.1 (lines 19-22).
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request consistently adds important compatibility change notes regarding server.grpc-compression-type across multiple release files. The changes are clear, well-structured, and adhere to the documentation style guide.

Key aspects of the style guide were followed, including:

  • Clarity and Accuracy: The descriptions of the compatibility change are easy to understand and technically precise (Style Guide Lines 14, 20, 21).
  • Consistent Terminology: Terms like TiKV, TiDB, and gRPC are used consistently (Style Guide Line 25).
  • Markdown Formatting: Options like `server.grpc-compression-type` are correctly formatted with backticks, and blank lines are appropriately used around lists and headings (Style Guide Lines 34, 38).
  • Conciseness: The added notes are concise and to the point (Style Guide Line 24).

One minor point for clarification has been raised for releases/release-8.1.1.md to ensure maximum accuracy in versioning.

Summary of Findings

  • Versioning Phrasing Consistency and Accuracy: In releases/release-8.1.1.md, the phrasing "In v8.1.0" for the previous behavior of server.grpc-compression-type differs slightly from the "In vX.Y.x versions earlier than vX.Y.z" pattern used in other release notes. A suggestion was made to consider an alternative phrasing for broader accuracy if applicable, though the current phrasing is likely correct if v8.1.0 was the sole preceding GA version in its series.

Merge Readiness

The pull request is well-prepared and the changes are clear and consistent across the targeted release notes. There is one minor point of clarification regarding version phrasing in releases/release-8.1.1.md that the author might want to double-check for utmost accuracy. Otherwise, the changes look good to merge. As a language model, I am not authorized to approve pull requests; this decision rests with the repository maintainers.

@qiancai
Copy link
Collaborator

qiancai commented Jun 3, 2025

/approve

Copy link

ti-chi-bot bot commented Jun 3, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Jun 3, 2025
@ti-chi-bot ti-chi-bot bot merged commit 7b45628 into pingcap:release-8.1 Jun 3, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/S Denotes a PR that changes 10-29 lines, ignoring generated files. type/cherry-pick-for-release-8.1 This PR is cherry-picked to release-8.1 from a source PR.
2 participants