Skip to content

<fix>[ai]: ZSTAC-69021 prevent capacity quota oversubscription - #4753

Open
zstack-robot-2 wants to merge 1 commit into
5.5.38from
sync/ye.zou/fix/ZSTAC-69021-5.5.38@@2
Open

<fix>[ai]: ZSTAC-69021 prevent capacity quota oversubscription#4753
zstack-robot-2 wants to merge 1 commit into
5.5.38from
sync/ye.zou/fix/ZSTAC-69021-5.5.38@@2

Conversation

@zstack-robot-2

Copy link
Copy Markdown
Collaborator

Summary

Prevent AI model, dataset, and model-service downloads from exceeding project capacity quotas by persisting in-flight capacity reservations.

Changes

  • Add the AICapacityReservationVO schema for atomic in-flight quota accounting.
  • Keep the schema compatible with the MySQL 5.5 verify-case environment.

Testing

  • ./runMavenProfile premium in Docker/JDK 8 (BUILD SUCCESS; build tests skipped)
  • Designated AICapacityQuotaReservationCase (1 passed, 0 failed, 0 skipped)
  • Rebased onto latest 5.5.38

Resolves: ZSTAC-69021

sync from gitlab !10812

Persist in-flight AI capacity reservations so concurrent downloads are counted before resource creation.

Constraint: Java control plane targets 5.5.38 and must remain compatible with MySQL 5.5.
Confidence: high
Scope-risk: moderate
Tested: Docker JDK 8 full premium profile build; designated AI capacity integration case
Not-tested: full integration suite

Resolves: ZSTAC-69021

Change-Id: Id9eaea1c1d378ac5756ad3a89c60e9d82761a955
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Essentials

Run ID: 02ba287f-4915-4ddd-ba56-57cabdd49499

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key: "remote_config"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Comment @coderabbitai help to get the list of available commands.

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.

2 participants