Closed youngzil closed 2 weeks ago
[!NOTE] Currently processing new changes in this PR. This may take a few minutes, please wait...
📥 Commits
Reviewing files that changed from the base of the PR and between 320653210db08d0d5ec3cded12901f47e5b34396 and 0dc3da416b2d32a972b1122ce0c0c9633e6e9bfd.📒 Files selected for processing (1)
* `CHANGES.md` (1 hunks)__________________________ < // TODO: Find more bugs. > -------------------------- \ \ \ \ /\ ( ) .( o ).
The pull request introduces several updates and enhancements to the Apollo configuration database schema as part of version 2.4.0. Key changes include the standardization of the lengths of ClusterName
and NamespaceName
fields across multiple tables, reducing their maximum length from varchar(500)
to varchar(32)
. Additionally, a new Mode
column has been added to the AccessKey
table, and various fixes have been implemented to address issues such as duplicate comments and missing items in published namespaces.
File Path | Change Summary |
---|---|
CHANGES.md |
Updated to reflect new features, enhancements, and fixes in version 2.4.0, including global search functionality and connection pool configuration improvements. |
scripts/sql/profiles/h2-default/apolloconfigdb.sql |
Altered data types for ClusterName and NamespaceName columns from varchar(500) to varchar(32) in multiple tables. |
scripts/sql/profiles/h2-default/delta/v230-v240/apolloconfigdb-v230-v240.sql |
Added Mode column to AccessKey table and modified ClusterName and NamespaceName columns in several tables to VARCHAR(32) NOT NULL DEFAULT 'default' . |
scripts/sql/profiles/mysql-database-not-specified/apolloconfigdb.sql |
Similar changes as above, updating column types from varchar(500) to varchar(32) for consistency across multiple tables. |
scripts/sql/profiles/mysql-database-not-specified/delta/v230-v240/apolloconfigdb-v230-v240.sql |
Included new Mode column in AccessKey and modified column types in Commit , Namespace , and Release tables to VARCHAR(32) NOT NULL DEFAULT 'default' . |
scripts/sql/profiles/mysql-default/apolloconfigdb.sql |
Consistent updates to column types from varchar(500) to varchar(32) for various tables, maintaining the overall structure. |
scripts/sql/profiles/mysql-default/delta/v230-v240/apolloconfigdb-v230-v240.sql |
Added Mode column to AccessKey and modified column types in Commit , Namespace , and Release tables to VARCHAR(32) NOT NULL DEFAULT 'default' . |
scripts/sql/src/apolloconfigdb.sql |
Updated column types for ClusterName and NamespaceName in multiple tables from varchar(500) to varchar(32) , and modified Comment column length in Release table. |
scripts/sql/src/delta/v230-v240/apolloconfigdb-v230-v240.sql |
Added Mode column to AccessKey and ensured ClusterName and NamespaceName columns in Commit , Namespace , and Release tables are VARCHAR(32) NOT NULL DEFAULT 'default' . |
Objective | Addressed | Explanation |
---|---|---|
Standardize lengths of ClusterName and NamespaceName fields across tables (#5259) |
✅ |
RefreshAdminServerAddressTask
, mentioned in this PR.size:M
, lgtm
🐰 In the garden where changes bloom,
The fields are trimmed, no more gloom.
With names now short, and modes anew,
Apollo shines, a brighter view!
Hopping forward, we refine,
In every line, our code will shine! 🌼
[!TIP]
You can customize the tone of the review comments and chat replies.
Set the `tone_instructions` setting in your project's settings in CodeRabbit to customize the tone of the review comments and chat replies. For example, you can set the tone to `Act like a strict teacher`, `Act like a pirate` and more.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 51.20%. Comparing base (
f55b419
) to head (7829654
). Report is 15 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What's the purpose of this PR
Update the Commit, Namespace, and Release table structures: modify the ClusterName and NamespaceName fields to VARCHAR(32)
Which issue(s) this PR fixes:
Fixes #5259
Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.Summary by CodeRabbit
New Features
Mode
column added to theAccessKey
table.Bug Fixes
Refactor
ClusterName
andNamespaceName
fields across multiple tables to improve data integrity.Commit
,Namespace
, andRelease
tables for optimized query performance.