Skip to content

beta-2023-05-31

Choose a tag to compare

@lukoktonos lukoktonos released this 01 Jun 17:39
· 2617 commits to main since this release

2023-05-31 Release Notes

What's New

  • Revamped helm chart with changes to align with best practices and support
    multiple cloud platforms. a51ac40 b739acb 931d0b9 c4ff836
  • Created the proptest-stateful
    crate and added extensive stateful property tests.
  • ReadySet can now infer the database_type from an upstream_db_url,
    making the --database-type argument optional. If --database-type is
    provided with an upstream_db_url, readyset will validate the database
    type. 8ad4482
  • Improve error messages for why something is unsupported when running
    without an upstream database. 41f3532
  • Add --controller-address option that exports prometheus metrics for the
    readyset-server when running in standalone mode. 688ab93
  • Add replication-server-id flag to allow multiple readyset deployments to
    connect to the same upstream db. Each deployment must have a unique
    replication server id. 896b423
  • Add logging that uses row estimates to report snapshotting progress.
    9f85776
  • Added an experimental feature to automatically inline
    placeholders in a query with literal values when the placeholders are
    unsupported, so that the query can be run against ReadySet. This
    feature is enabled with the --experimental-placeholder-inlining flag.
    This feature is experimental as it could degrade the performance of
    the ReadySet instance if too many inlined instances of a query are
    created. It is recommended that you drop the cache of any query with
    inlined placeholders with high cardinality. 4a31acd
  • Add support for INT2, INT4, and INT8 postgres type aliases. e9518f1

Performance Improvements

  • Controller requests now run asynchronously. 120fb30
  • RocksDB compaction is now done as a background process. 51d5a4c
  • Tuned the retry behavior of extend_recipe. 1b77183
  • Initialize persistent state in a different thread. c78bd61
  • Numerous miscelaneous query performance optimizations.

Bug Fixes

  • Update metrics-rs crate to 0.21 to fix a bug in summary
    calculations
    where they
    were not being calculated over sliding windows of
    time
    .
    1557db0
  • Fixed a bug where DDL actions were lost when we encountered a particular
    error in replication. 1101215
  • Fixed an issue where we returned an empty value instead of BEGIN for
    certain transactional queries. fd08ff1
  • Fixed an incorect timezone conversion that prevented lookups into a date
    field using timestamps that had the same date. 33990c7
  • Fixed a bug with optimized string serialization. 5dec2e1
  • Fixed a panic if offset is longer than result set, specifically in the case
    that a query, has ORDER BY, LIMIT, and OFFSET, has aggregates with a
    group by, and doesn't filter by a primary or unique column. 5d9c5ce
  • Fixed a panic that could happen if a connection failed during a migration.
    020f58a
  • Fixed a bug where the ordering of project and distinct nodes would return
    incorrect results. 236ed82
  • Properly mark PostgreSQL partitioned tables as unsupported. 2abffe1
  • Fix handling of a partial replay where a source node has been dropped.
    94be3fc
  • Properly handle creating tables with FKs. f10319e
  • Properly handle replication offsets for uninitialized base tables. 582b68f