Skip to content
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

fix(tidb): move bootstrap sql to cluster spec #6048

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

liubog2008
Copy link
Member

  • move bootstrap sql ref to cluster spec because it is only worked when tidb is bootstrapped.

@ti-chi-bot ti-chi-bot bot requested a review from shonge January 17, 2025 09:22
@ti-chi-bot ti-chi-bot bot added the size/L label Jan 17, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.98%. Comparing base (ae78931) to head (2e149c1).

Additional details and impacted files
@@             Coverage Diff             @@
##           feature/v2    #6048   +/-   ##
===========================================
  Coverage       69.98%   69.98%           
===========================================
  Files             153      153           
  Lines            9530     9530           
===========================================
  Hits             6670     6670           
  Misses           2860     2860           
Flag Coverage Δ
unittest 69.98% <66.66%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@@ -75,6 +76,11 @@ type ClusterSpec struct {
// Whether enable the TLS connection between TiDB cluster components.
TLSCluster *TLSCluster `json:"tlsCluster,omitempty"`

// BootstrapSQL refer to a configmap which contains the bootstrap SQL file with the key `bootstrap-sql`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// BootstrapSQL refer to a configmap which contains the bootstrap SQL file with the key `bootstrap-sql`,
// BootstrapSQL refers to a configmap which contains the bootstrap SQL file with the key `bootstrap-sql`,

@ti-chi-bot ti-chi-bot bot added size/XXL and removed size/L labels Jan 21, 2025
@liubog2008 liubog2008 added the v2 for operator v2 label Jan 21, 2025
@liubog2008 liubog2008 force-pushed the liubo02/move-bootstrap-sql branch from 77111b9 to 469ee92 Compare January 21, 2025 01:54
@liubog2008
Copy link
Member Author

/run-pull-e2e-kind-v2

Signed-off-by: liubo02 <[email protected]>
@liubog2008
Copy link
Member Author

/run-pull-e2e-kind-v2

1 similar comment
@liubog2008
Copy link
Member Author

/run-pull-e2e-kind-v2

Signed-off-by: liubo02 <[email protected]>
@ti-chi-bot ti-chi-bot bot added the lgtm label Jan 21, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 21, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csuzhangxc

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Contributor

ti-chi-bot bot commented Jan 21, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-21 11:42:46.538752986 +0000 UTC m=+181093.869672390: ☑️ agreed by csuzhangxc.

@ti-chi-bot ti-chi-bot bot added the approved label Jan 21, 2025
@csuzhangxc csuzhangxc merged commit a90bc31 into pingcap:feature/v2 Jan 21, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants