Shopify / ghostferry

The swiss army knife of live data migrations
https://shopify.github.io/ghostferry
MIT License
693 stars 65 forks source link

299 mediumint unsigned fixed #301

Open HemeraOne opened 2 years ago

HemeraOne commented 2 years ago

I closed it previously as I encountered issues, however I had a git issue on the machine I was using it on and had resolved the merge conflict in a faulty way. I have done a few separate runs now and it works fine

Manan007224 commented 2 years ago

@HemeraOne I see in your previous PR you had encountered certain issues regarding running the ruby integration tests locally - https://github.com/Shopify/ghostferry/pull/300#issuecomment-878377949. Looking at the logs it seems that there is an issue in the instally mysql2 gem in your environment.

If you're using macos, try to uninstall the mysql2 gem and then again install it using extra flags. sudo gem install mysql2 -v '0.5.3' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include

If you're on a linux based sytem try to search if someone has already encountered this issue before, as this is a known problem.

Also make sure your system uses the same ruby version as to what ghostferry integration tests are configured to use which is 2.7.3.

Lemme know if this problem still persists, then I can write an integration test and commit to this branch.