We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What version of TiDB Operator are you using?
latest release
What did you do?
Start TiDBCluster with TiFlash
What did you expect to see?
TiFlash and TiDBcluster running normally
What did you see instead?
TiFlash failed to start because the PD placement-rules is not enabled, this is a prerequisite for TiFlash. Error log of TiFlash
klo yeya24-tiflash-0 -c proxylog [2020/04/16 19:27:56.857 +00:00] [ERROR] [util.rs:327] ["request failed"] [err="Grpc(RpcFailure(RpcStatus { status: FailedPrecondition, details: Some(\"placement rules is disabled\") }))"] [2020/04/16 19:27:56.857 +00:00] [ERROR] [util.rs:327] ["request failed"] [err="Grpc(RpcFailure(RpcStatus { status: FailedPrecondition, details: Some(\"placement rules is disabled\") }))"] [2020/04/16 19:27:56.857 +00:00] [FATAL] [server.rs:287] ["failed to start node: Other(\"[src/pd/util.rs:335]: fail to request\")"]
PD config status:
pdctl config show | grep enable-placement "enable-placement-rules": "false",
If I manually enabled replacement rules in PD, then TiFlash starts perfectly
The text was updated successfully, but these errors were encountered:
@yeya24 Thanks for reporting this issue, the integration with TiFlash is still in progress, we will enable the placement rules config automatically.
Sorry, something went wrong.
This can be closed now.
I think we could using pdapi to configure placement rule before syncing tiflash instead of setting it in the config.toml in this PR https://github.com/pingcap/tidb-operator/pull/2328/files
DanielZhangQD
Successfully merging a pull request may close this issue.
Bug Report
What version of TiDB Operator are you using?
latest release
What did you do?
Start TiDBCluster with TiFlash
What did you expect to see?
TiFlash and TiDBcluster running normally
What did you see instead?
TiFlash failed to start because the PD placement-rules is not enabled, this is a prerequisite for TiFlash. Error log of TiFlash
PD config status:
If I manually enabled replacement rules in PD, then TiFlash starts perfectly
The text was updated successfully, but these errors were encountered: