Skip to content

Conversation

@majiayu000
Copy link

Summary

This PR fixes #4094

Changes

  • service/frontend/version_checker.go
  • service/frontend/version_checker_test.go
The isUpdateNeeded function now also checks if the server version has
changed since the last version check. This ensures that when a cluster
is upgraded to a new version, the version check is triggered and any
outdated upgrade notifications are cleared.

Previously, only the LastUpdateTime was checked, which meant that if
a cluster was upgraded within an hour of the last version check, the
outdated notification would persist until the next hourly check.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
@majiayu000 majiayu000 requested review from a team as code owners December 30, 2025 06:25
@CLAassistant
Copy link

CLAassistant commented Dec 30, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants