-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fail to replicate if a table has more than one primary/unique key #152
Comments
Does this occur in the invocation of |
Yes it happens when executing this in ./devtools/replica-setup/snapshot.sh: output=$(mysqlsh -h${MYSQL_HOST} -P${MYSQL_PORT} -u${MYSQL_USER} -p${MYSQL_PASSWORD} -- util copy-instance "mysql://${MYDUCK_USER}:${MYDUCK_PASSWORD}@${MYDUCK_HOST}:${MYDUCK_PORT}" --users false --consistent false --ignore-existing-objects true --handle-grant-errors ignore --threads $THREAD_COUNT --bytesPerChunk 256M --ignore-version true) And the error still occurs no matter adding |
Interesting. Maybe we should investigate why |
Still the same:
There's no other error reported in the log, but three warnings here may provide some clues.
|
You can run |
For example, I creates a table like this
Then when I try to replica this from MariaDB to MyDuck, an error occurs:
This error disappeared after removing
unique
.The text was updated successfully, but these errors were encountered: