-
Notifications
You must be signed in to change notification settings - Fork 123
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
"Can't parse" error #219
Comments
Here is the commit that broke things: magnusmanske/mixnmatch_rs@b0115ef |
@magnusmanske, hi.
Could you please inspect Cargo.lock and give me old and new versions of updated
You meant that things goes OK if |
Yes, so
breaks things. Again, not sure this specific package is the root cause. |
0.29.1 works, 0.29.2 does not |
Oh, forgot to ask your MySql version. |
10.1.39-MariaDB |
@magnusmanske, could you please patch your [patch.crates-io]
regex = { git = "https://github.com/blackbeam/rust_mysql_common.git", branch = "de-error" } |
Am I doing something wrong?
|
Oh, sorry. Copy-paste error. [patch.crates-io]
mysql_common = { git = "https://github.com/blackbeam/rust_mysql_common.git", branch = "de-error" } |
I get a warning but it runs:
Seems to work with that patch... |
Seems like it suggests to run |
Sorry for bothering you, but I couldn't reproduce this myself – tried on MariaDb 10.1.39 with two pools connected to two distinct db instances in multi-threaded tokio runtime – no luck. |
Update: I have run |
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
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
Did a
cargo update
, now my poolget_conn
throws these errors:Reverted to the previous
Cargo.toml
, works fine. Not sure if it'smysql_async
or a dependent package, but I can't debug it more fine-grained at the moment.The text was updated successfully, but these errors were encountered: