-
Notifications
You must be signed in to change notification settings - Fork 508
Fix: update status when deleting and wait for modifying volumes #6164
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
Conversation
/run-pull-e2e-kind-v2 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/v2 #6164 +/- ##
==============================================
- Coverage 52.08% 51.82% -0.27%
==============================================
Files 232 232
Lines 16355 16399 +44
==============================================
- Hits 8518 8498 -20
- Misses 7837 7901 +64
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
a3f8dd7
to
19a3bf7
Compare
/run-pull-e2e-kind-v2 |
pkg/apiutil/core/v1alpha1/group.go
Outdated
@@ -21,6 +21,7 @@ import ( | |||
"github.com/pingcap/tidb-operator/pkg/client" | |||
"github.com/pingcap/tidb-operator/pkg/runtime" | |||
"github.com/pingcap/tidb-operator/pkg/runtime/scope" | |||
"github.com/pingcap/tidb-operator/pkg/utils" |
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.
Do not add function to utils directly. Use utils/xxx
instead.
@@ -37,6 +37,7 @@ func (r *Reconciler) NewRunner(state *tasks.ReconcileContext, reporter task.Task | |||
|
|||
task.IfBreak(common.CondInstanceIsDeleting(state), | |||
tasks.TaskFinalizerDel(state, r.Client), | |||
common.TaskStatusPersister[scope.TiCDC](state, r.Client), |
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.
no need to change any status?
/run-pull-e2e-kind-v2 |
@@ -301,6 +301,15 @@ type CommonStatus struct { | |||
CollisionCount *int32 `json:"collisionCount,omitempty"` | |||
} | |||
|
|||
// StoreStatus defines the common status fields for all stores. | |||
type StoreStatus struct { |
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.
It seems not used?
/run-pull-e2e-kind-v2 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liubog2008 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
What is changed and how does it work?
Code changes
Tests
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.