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

Informational messages are printed twice in 1.0.14 #210

Open
Roguelazer opened this issue Aug 30, 2016 · 3 comments
Open

Informational messages are printed twice in 1.0.14 #210

Roguelazer opened this issue Aug 30, 2016 · 3 comments

Comments

@Roguelazer
Copy link
Contributor

% gh-ost --database easypost --table rates --alter "MODIFY id BIGINT NOT NULL AUTO_INCREMENT" --allow-master-master
# Migrating `easypost`.`rates`; Ghost table is `easypost`.`_rates_gho`
# Migrating `easypost`.`rates`; Ghost table is `easypost`.`_rates_gho`
# Migrating db13sj:3306; inspecting db15sj:3306; executing on db15sj
# Migrating db13sj:3306; inspecting db15sj:3306; executing on db15sj
# Migration started at Mon Aug 29 23:58:19 +0000 2016
# Migration started at Mon Aug 29 23:58:19 +0000 2016

I initially thought that this was caused by --concurrent-rowcount, but it seems to happen regardless of --concurrent-rowcount with 1.0.14, and, in fact, it happens even with no special args, as shown above. Sometimes the messages are out-of-order, so I assume it's a race between two threads. Doesn't seem to affect actual execution.

@shlomi-noach
Copy link
Contributor

@Roguelazer I also recall seeing that before. But I haven't, in a while. Does that happen consistently? Any particular time when it happens?

Also, are you issuing status commands on the unix-socket?

@shlomi-noach
Copy link
Contributor

@Roguelazer friendly ping

@Roguelazer
Copy link
Contributor Author

I was not issuing status commands on the socket; it double-prints during startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants