Version 1.1.4¶
Released on 2017/06/02.
Note
If you are upgrading a cluster, you must be running CrateDB 0.57.0 or higher before you upgrade to 1.1.4.
If you want to perform a rolling upgrade, your current CrateDB version number must be Version 1.1.1 or higher. If you want to upgrade from a version prior to this, the upgrade will introduce all of the breaking changes listed for Version 1.1.0, and will require a full restart upgrade.
Warning
Before upgrading, you should back up your data.
Table of contents
Changelog¶
Changes¶
Improved the resiliency of the retrieval of large results via HTTP. Queries are now aborted and result in an error if they consume too much memory.
Changed the
QueryStatsJMX MBean to deliver node-based values instead of cluster-based values.This makes it possible to spot performance discrepancies between nodes more easily.
Fixes¶
Fixed a
COPY FROMissue that caused imports into tables with certain combinations ofPARTITIONED BY,PRIMARY KEYandGENERATED COLUMNSto fail.Fixed an issue with algorithm that tries to reorder the joined tables using the optimum ordering. The issue caused an exception to be thrown when join conditions contain table(s) which are not part of the adjacent joined tables. E.g.:
SELECT * FROM t1 JOIN t2 JOIN t3 JOIN t4 ON t4.id = t2.id
Fixed an issue that led to
ArrayIndexOutOfBoundsExceptiononDISTINCTorGROUP BYqueries on thesys.shardstable.Fixed an issue that could cause
sys.operationsentries to remain even after the operation has finished.Optimized the JMX
QueryStatsMBean to prevent it from putting too much load on the cluster.Fixed the calculation of the
OverallQueryAverageDurationQueryStatsMBean.The internal
fetchSizeis now dynamic based on configured heap and has an upper bound to preventOutOfMemoryerrors if a PostgreSQL client retrieves a large result set without setting afetchSize, or setting afetchSizewhich is too large.Fixed a race condition that could lead to
KILL (ALL)causing queries to get stuck instead of interrupting them.Fix an issued that cause a
NullPointerExceptionwhen ordering by system columns.Fixed validation so that
SELECT DISTINCTcan be used only if there is noGROUP BYpresent or if the set ofGROUP BYexpressions is the same as the setSELECTexpressions.Added validation that
ORDER BYsymbols are included in theSELECTlist whenDISTINCTis used.