readysettech / readyset

Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.
https://readyset.io
Other
4.54k stars 125 forks source link

Adjust MySQL Version Check #1345

Closed altmannmarcelo closed 3 months ago

altmannmarcelo commented 3 months ago

Description

thread 'Adapter Runtime' panicked at /workdir/public/replicators/src/mysql_connector/snapshot.rs:357:53:
called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Our version check does not account for extra information after the patch version. Example:

mysql> SELECT VERSION();
+-------------------------+
| VERSION()               |
+-------------------------+
| 5.7.44-rds.20240529-log |
+-------------------------+
1 row in set (0.00 sec)

Change in user-visible behavior

Requires documentation change