You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating Mysql server from 5.7.25 to 8.0 some queries started to fail with error: java.lang.UnsupportedOperationException: LongBlob is not supported!
To Reproduce
Mysql server version: 5.7.25
finagle-mysql version: 21.8.0
Query:
LongBlob is not supported!
java.lang.UnsupportedOperationException: LongBlob is not supported!
at com.twitter.finagle.mysql.StringEncodedRow.$anonfun$values$1(StringEncodedRow.scala:69)
at scala.collection.immutable.Vector1.map(Vector.scala:1872)
at scala.collection.immutable.Vector1.map(Vector.scala:375)
at com.twitter.finagle.mysql.StringEncodedRow.values$lzycompute(StringEncodedRow.scala:25)
at com.twitter.finagle.mysql.StringEncodedRow.values(StringEncodedRow.scala:23)
Field decoded with field type 251 but should be 253.
Expected behavior
Error LongBlob is not supported! shouldn't be thrown, because finagle-mysql 21.8.0, supports Mysql 8.0 and should provide the same behavior for Mysql 8.0 and 5.7.
@RicoGit, thanks for reporting; we can reproduce the issue locally.
What we found so far is the packets received are different between MySQL 5 and MySQL 8 servers.
Are you aware of any protocol/spec changes? We are still looking into.
Describe the bug
After updating Mysql server from 5.7.25 to 8.0 some queries started to fail with error:
java.lang.UnsupportedOperationException: LongBlob is not supported!
To Reproduce
Mysql server version: 5.7.25
finagle-mysql version: 21.8.0
Query:
Result: Ok, test passed as expected.
Mysql server version: 8.0
finagle-mysql version: 21.8.0
Query:
Result:
Field decoded with field type 251 but should be 253.
Expected behavior
Error
LongBlob is not supported!
shouldn't be thrown, because finagle-mysql 21.8.0, supports Mysql 8.0 and should provide the same behavior for Mysql 8.0 and 5.7.Environment
finagle-mysql version: 21.8.0
Ubuntu 20.04.4 LTS
build tool: SBT 1.6.1
The text was updated successfully, but these errors were encountered: