Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade mysql_async from v030.0 to v0.31.2 to fix parse errors
Summary: D50506429 upgraded mysql_async to v0.30. With that version of the crate, the asic license_monitor stopped working with the following error: ``` fbcode/asic/license/monitor/xdb/lib.rs:212] failed to update features: failed to update features for vendor synopsys Nov 28 11:10:08 ash-edalic-arvr-snps01.thefacebook.com license_monitor[2041048]: Caused by: Nov 28 11:10:08 ash-edalic-arvr-snps01.thefacebook.com license_monitor[2041048]: 0: failed to delete existing features Nov 28 11:10:08 ash-edalic-arvr-snps01.thefacebook.com license_monitor[2041048]: 1: failed to get MySQL connection Nov 28 11:10:08 ash-edalic-arvr-snps01.thefacebook.com license_monitor[2041048]: 2: failed to get MySQL connection Nov 28 11:10:08 ash-edalic-arvr-snps01.thefacebook.com license_monitor[2041048]: 3: Input/output error: Input/output error: can't parse: buf doesn't have enough data Nov 28 11:10:08 ash-edalic-arvr-snps01.thefacebook.com license_monitor[2041048]: 4: Input/output error: can't parse: buf doesn't have enough data Nov 28 11:10:08 ash-edalic-arvr-snps01.thefacebook.com license_monitor[2041048]: 5: can't parse: buf doesn't have enough data ``` Unfortunately, the change logs and issue tracker on github are not clear. [mysql_async v0.31.2](https://github.com/blackbeam/mysql_async/releases/tag/v0.31.2) addressed this [issue](blackbeam/mysql_async#219) despite what the comments say. Both that issue and the release refer to a conversation on [glitter](https://matrix.to/#/!rVBiivVGEBsRPFFerK:gitter.im/$CkNiRgwTwUthqxdYM5khT12BJ3pLxfSZC0CCfbMANQo?via=gitter.im&via=matrix.org). Putting the pieces together, this issue was addressed by that release. I tested the license_monitor with mysql_async v0.31.2 and the issue went away. Reviewed By: boalinlai Differential Revision: D51636756 fbshipit-source-id: 5eef00637a6ff1b573e4cf2aa1b7324db0262a63
- Loading branch information