Version 5.10.5¶
Released on 2025-04-28.
Note
If you are upgrading a cluster, you must be running CrateDB 4.0.2 or higher before you upgrade to 5.10.5.
We recommend that you upgrade to the latest 5.9 release before moving to 5.10.5.
A rolling upgrade from 5.9.x to 5.10.5 is supported. Before upgrading, you should back up your data.
Warning
Tables that were created before CrateDB 4.x will not function with 5.x and must be recreated before moving to 5.x.x.
You can recreate tables using COPY TO
and COPY FROM
or by
inserting the data into a new table.
Table of contents
See the Version 5.10.0 release notes for a full list of changes in the 5.10 series.
Fixes¶
Fixed memory estimation for
INSERT INTO
statements withON CONFLICT
clause. This should help prevent nodes from running out of memory.Improved the handling of
statement_timeout
to reduce memory consumption. Before it would consume extra memory per executed query for the fullstatement_duration
even if the query finished early. Now the memory is released once a query finishes.Fixed an issue that prevented
MATCH (geo_shape_column, ...)
from matching any records ifgeo_shape_column
is a generated column.Fixed a race condition that could lead to a memory leak if nodes within the cluster were temporarily not reachable.
Fixed an issue that led to an
no viable alternative at input 'SELECT FROM'
error when usingSELECT count(*) FROM remote_tbl
whereremote_tbl
is a foreign table using the JDBC foreign data wrapper.Fixed edge cases of fixed length character comparisons involving whitespaces, E.g.:
CREATE TABLE t (col CHAR(3)) INSERT INTO t VALUES ('') SELECT col > e'\n' from t
now returns
TRUE
because''
is padded with' '
which is32
inASCII
ande'\n'
is10
inASCII
.Fixed behavior of
COPY ... FROM ... with (fail_fast = true)
to stop on non-retryable IO errors as well. Before the flag used to be applied only for write errors.