gorethink v2.0.4 Release Notes

Release Date: 2016-05-22 // almost 8 years ago
  • ๐Ÿ”„ Changed

    • Changed Connect to return the reason for connections failing (instead of just "no connections were made when creating the session")
    • Changed how queries are retried internally, previously when a query failed due to an issue with the connection a new connection was picked from the connection pool and the query was retried, now the driver will attempt to retry the query with a new host (and connection). This should make applications connecting to a multi-node cluster more reliable.

    ๐Ÿ›  Fixed

    • Fixed queries not being retried when using Query(), queries are now retried if the request failed due to a bad connection.
    • Fixed Cursor methods panicking if using a nil cursor, please note that you should still always check if your queries return an error.