Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Oct 13, 2025

This PR adds documentation for the new max_connection_age configuration option for gRPC server, which was introduced in GreptimeTeam/greptimedb#7031.

What Changed

Added the max_connection_age configuration parameter to the gRPC server options in the configuration documentation. This option allows users to control the maximum lifetime of gRPC connections before the server gracefully closes them.

Configuration Details

  • Type: String (duration format)
  • Default: Not set (connections remain open indefinitely)
  • Purpose: Controls the maximum age of a gRPC connection before graceful closure
  • Examples:
    • "1h" for 1 hour
    • "30m" for 30 minutes

Documentation Updated

The configuration has been documented in:

  • Current English documentation
  • Version 0.17 English documentation
  • Current Chinese (中文) documentation
  • Version 0.17 Chinese (中文) documentation

This ensures consistency across all supported versions and languages.

Use Case

This configuration is useful for:

  • Preventing connection leaks in long-running services
  • Managing connection lifecycle in load-balanced environments
  • Implementing connection rotation policies for security or operational requirements

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • googlechromelabs.github.io
    • Triggering command: node install.mjs (dns block)
  • https://api.github.com/repos/GreptimeTeam/greptimedb/pulls/7031
    • Triggering command: curl -s REDACTED (http block)
  • https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.82/linux64/chrome-headless-shell-linux64.zip
    • Triggering command: node install.mjs (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Update docs for feat: add max_connection_age config to grpc server</issue_title>
<issue_description>A document change request is generated from GreptimeTeam/greptimedb#7031</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #2151


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link

cloudflare-workers-and-pages bot commented Oct 13, 2025

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: f2c2b92
Status: ✅  Deploy successful!
Preview URL: https://9851d555.greptime-docs.pages.dev
Branch Preview URL: https://copilot-update-docs-max-conn.greptime-docs.pages.dev

View logs

Co-authored-by: MichaelScofield <990479+MichaelScofield@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Update documentation for max_connection_age config in gRPC server docs: add max_connection_age config to grpc server options Oct 13, 2025
@Copilot Copilot AI requested a review from MichaelScofield October 13, 2025 02:09
Copilot finished work on behalf of MichaelScofield October 13, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update docs for feat: add max_connection_age config to grpc server

2 participants