Dagit failed to start with mysql (clustered with 3 nodes)
See original GitHub issueDagster version
0.15.7
What’s the issue?
The following error happens when we use mysql cluster as storage:
[SQL: INSERT INTO instance_info (run_storage_id) VALUES (%(run_storage_id)s)]
sqlalchemy.exc.DatabaseError: (mysql.connector.errors.DatabaseError) 3098 (HY000): The table does not comply with the requirements by an external plugin.
Because the instance_info table does not have primary key, simply adding a primary will fix the issue:
ALTER TABLE instance_info ADD PRIMARY KEY (run_storage_id(255));
What did you expect to happen?
Dagit should start successfully.
How to reproduce?
Just run dagit with mysql cluster (more than 1 node)
Deployment type
No response
Deployment details
No response
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
dagster/CHANGES.md at master - GitHub
Fixed an issue where Dagster failed to load a dagster.yaml file that specified the ... [dagit] The run timeline view now shows jobs...
Read more >MySQL Cluster - mysql api nodes are failing to start
I am trying to start mysqld(API) nodes as a part of my mysql cluster setup and now it is always failing to start...
Read more >SYS_LOAD_ERROR_DETAIL - Amazon Redshift
Column name Data type Description
user_id integer The identifier of the user who submitted the copy.
query_id bigint The query identifier of the copy.
transaction_id bigint...
Read more >MySQL Server monitor_20000 on node1 'not running' - HA ...
Everything comes online. pcs cluster standby node1. Fails over to node2. But I get this error again... mysql_service01_monitor_20000 on node1 ' ...
Read more >Introduction to Apache Airflow - Hacker News
I don't know too much about dask, how would you build a node in a Dask DAG to execute a java app and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I 'm using 8.0.28
As @phuongdinh1411 mentioned - solution here is to add a primary key column to the instance info. This entails an alembic schema migration, but it would never be a forced migration (as we never read that primary key field)