-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat(dlm):support configuring limiter #626
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the class DlmLimiterConfig may not clear for API model.
e.g. what is the postfix limit
means, batch limit or rate limit.
do we have plan to offer more configurable limit ability?
crrenttly all limit abilit belong to rate limit, it will be okay to use RateLimitConfiguration.
or, may DlmLimitConfiguration, with fields:
- max-rows-per-second
- max-size-per-second
- batch-rows
server/odc-core/src/main/resources/i18n/BusinessMessages.properties
Outdated
Show resolved
Hide resolved
.../odc-server/src/main/java/com/oceanbase/odc/server/web/controller/v2/ScheduleController.java
Outdated
Show resolved
Hide resolved
server/odc-service/src/main/java/com/oceanbase/odc/service/dlm/model/DataDeleteParameters.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* DLM supports configuring limiter config. * DLM supports configuring limiter config. * fix wrong field. * support configuring max value of limiter. * support configuring max value of limiter. * show limiter config in detail. * add util. * fix ut * response comments
What type of PR is this?
type-feature
What this PR does / why we need it:
The current task current limit configuration can only be modified in the metadb, which is not user-friendly. Now users are allowed to configure it on a white screen.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Additional documentation e.g., usage docs, etc.: