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.
--allow-unsupported-set was added to allow readyset is naively ignore any SET commands it could not process. About a year later, we introduced the --unsupported-set-mode flag and enum. One of the modes available is Allow, that mapped directly onto the existing --allow-unsupported-set.
Confusingly, we did not remove the older flag, and we did not allow setting --unsupported-set-mode allow. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be.
Description
--allow-unsupported-set
was added to allow readyset is naively ignore anySET
commands it could not process. About a year later, we introduced the--unsupported-set-mode
flag and enum. One of the modes available isAllow
, that mapped directly onto the existing--allow-unsupported-set
.Confusingly, we did not remove the older flag, and we did not allow setting
--unsupported-set-mode allow
. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be.