Maintenance Release Changelog
On this page
2022-01-05 Version 7. 1. 25
-
Reduce probability of failed connections to clusters due to WebSockets proxy issues.
-
Fixed the default value for
max_so that it is now set appropriately when control groups are in use limiting CPU usage.async_ compilation_ concurrency -
Added control group awareness for
information_which now displays the correct number of CPUs a process has access to.schema. mv_ nodes -
Fixed an issue with a crash occurring when an incremental backup was performed on an empty database.
-
Fixed an issue with a crash occurring when DDL is run inside a stored procedure that is executed within a resource pool on a child aggregator.
-
Block the
DROP TEMPORARY TABLEcommand from running in a transaction that writes to the temporary table being dropped.The DROP TEMPORARY TABLEcommand result will display an error. -
Clarified error messaging when invalid data is inserted into a utf8 charset data type column.
-
Fixed an issue with queries not assigned to resource group pools with hard CPU limits from using the CPU assigned to the pool.
-
Disallowed setting the
distributed_above 28.optimizer_ max_ join_ size
2021-11-01 Version 7. 1. 24
-
Fixed issue with crash occurring when attempting to compile queries for
UPDATEstatements with multiple columns due to insufficient memory resources.The amount of memory necessary to compile these query shapes was reduced. -
Fixed sync timeout errors occurring when
REBALANCE PARTITIONSof large databases is being processed.The REBALANCE PARTITIONSoperation now waits for the replication of large snapshot files. -
Fixed an issue where in some rare cases
PROFILEqueries could cause a crash. -
Updated time zone data for some countries that recently changed their time zone rules.
2021-10-12 Version 7. 1. 23
-
Masked blob store
CREDENTIALStext inBACKUP,RESTORE, andLINKcommands inSHOW PROCESSLIST,information_, and all error messages.schema. PROCESSLIST
2021-09-13 Version 7. 1. 22
-
Added a new system variable called
master_which specifies how long an online failover will wait to drain open write transactions before issuing a kill to those transactions.promote_ kill_ timeout_ seconds It is limited to 120 seconds. After the write transactions are killed, an application-level retry is required. -
Fixed an issue that can cause defunct processes for pipelines or code generation in a rare race condition.
-
Updated
memsqlctl start-nodeto check the validity of NUMA configurations when nodes are restarted.If the system doesn’t have NUMA configurations, the nodes will be restarted. If any of the nodes have invalid NUMA configurations, the NUMA bindings will be recalculated for all the nodes on the host. -
Fixed a crash that could occur when
ALTER TABLE COMPRESSION=SPARSEis run in the sameALTERstatement with an operation that doesn’t require data movement (i.e. , AUTOSTATS_).ENABLED = ON -
Fixed an issue where modifying the case of a column via
ALTER TABLEcould cause a pipeline using that table to crash. -
Updated
memsqlctlto establish an SSL connection to the node if a CA certificate is set explicitly.SingleStore now falls back to an SSL connection via the host's default certificates if the target user requires SSL. -
Fixed an issue where incorrect results could be returned when using
INSERT_to insert into a temporary table.ALL
2021-07-06 Version 7. 1. 21
-
Fixed an issue where a malformed INIT_
DB command sent by a client could cause an aggregator to crash . -
Fixed an issue where a crash could occur when running
UPDATEon a query with a scalar subselect in aSETclause afterALTER TABLE. -
Properly set keep alive and timeouts on the persistent leaf-to-master aggregator connection that is used to communicate replication link status.
This fixes an issue with REBALANCE commands that failed with synchronization timeouts. -
Fixed a synchronization bottleneck, improving the ability of the pipeline scheduler to run many pipelines in parallel.
-
Improved the performance of pipeline and database DDL actions when a database has many pipelines running.
-
Fixed a blocking issue that could occur when several pipelines are being background scheduled simultaneously.
2021-06-07 Version 7. 1. 20
-
Added a new system variable,
auditlog_, which controls the retention period (in days) of audit log files on disk.retention_ period The default is 0which means files remain on disk indefinitely. -
ADMIN_audit log level now audits DDL statements only.ONLY Previously it would audit other non-DDL statements, which could cause bloat in the audit logs in ADMIN_mode.ONLY -
Fixed an issue where a crash could occur during concurrent columnstore
DELETEs while escalating from row level locking to table level locking. -
Fixed an issue where incorrect results could be returned when using
UNION ALLandSELECT ... . INTO S3 -
Fixed an issue with
DATETIMEequality testing when updating columnstore tables. -
Optimized partition placements when rebalancing partitions in
load_mode.balanced -
Fixed an issue where
CREATE GLOBAL TEMPORARY TABLE LIKE .would create a normal user table instead of a global temporary table.. . -
Fixed a crash that could occur when using a table reference like table_
name. * inside TO_.JSON -
Fixed a rare race condition that could cause sync replication to get stuck.
2021-04-05 Version 7. 1. 19
-
Fixed an issue that caused
auto-rebalanceoperations occurring whenleaf_was set tofailover_ fanout load_not to fully rebalance the cluster.balanced -
Added a new engine variable,
backup_, which controls the number of concurrent threads used to run backups on leaves.max_ threads By default, each backup uses one thread per partition. For more information, see Non-Sync Variables List.
2021-03-22 Version 7. 1. 18
-
Fixed an issue with previously replicated databases showing as offline in Studio after
STOP REPLICATINGhas been run. -
Fixed an issue with the system variable
redundancy_being incorrectly set on leaf nodes, which previously caused errors whenlevel CHECK BLOB CHECKSUM WITH REPAIRwas run. -
Monitoring clusters are now supported via
SSL. -
Fixed a an issue where an unsupported FULLTEXT query could crash the server.
-
Increased
TasksMaxto 128000 formemsql.in order to prevent errors and/or unexpected node behavior.service Previously, this setting was often exceeded, causing systemdto limit the ability ofmemsqldto fork processes. -
Updated the Websocket Proxy to respect the engine variables,
ssl_andcipher tls_, in configuringversion TLSfor external communication viahttps.
2021-02-16 Version 7. 1. 17
-
Fixed an issue with automatic histograms on clusters that were upgraded with the variable
cardinality_set toestimation_ level 6..0 -
Fixed an issue where an
UPDATEquery on a columnstore table with unique key could wrongly report a duplicate key error in some cases. -
Added metrics about the availability of database partitions to
memsql_.exporter -
Allowed
memsqlctlto establish a secure connection when a node is configured for SSL using either the engine variablessl_, or the host system’s trusted certificates for verification.ca -
Added the
--insecure-sslflag, which allowsmemsqlctlto support SSL connections without verification. -
Fixed an issue that occurred when running
ALTERorTRUNCATEagainst a table that includedON DUPLICATE KEY UPDATEin itsCREATE PIPELINEstatement.
2021-02-01 Version 7. 1. 16
-
Fixed an issue that caused read actions on columnstore JSON objects to result in an error (
Error reading from parquet: Column not found in schema) in cases where trailing whitespaces were present in the JSON key names stored for a given table. -
Allowed
memsqlctlto be run as the root user without additional configuration. -
The
memsql_process is now properly shut down when the exporter port is changed or the cluster is uninstalled.exporter Previously, it left a defunct process. -
When running
memsql_, the password for the monitoring user is no longer exposed in theexporter psoutput. -
When inserting into a columnstore table, columns not needed to deal with a duplicate key are no longer decompressed.
-
Improved the optimizer’s cost estimates for hash joins when one of the tables in a given join has an index matching the join condition.
-
Fixed a crash that occurred when an aggregate function was used in an unsupported context inside a stored procedure.
-
Added a new engine variable
optimizer_, which sets a threshold for the number of empty tables that must be present in a query before the optimizer falls back to being rule based, instead of cost based.empty_ tables_ limit For more information, see List of Engine Variables.
2021-01-11 Version 7. 1. 15
-
Improved the speed of server shutdown and of recovery for databases with large numbers of tables.
This improvement is evident at 1,000 tables or more, and increases significantly after 10,000 tables. -
Fixed an issue that caused
RESTOREcommands to fail in cases where a database contained a large number of reference tables. -
The system’s root CA is now used where no
ssl.is specified for a Kafka pipeline connection using SSL.ca. location -
Fixed an issue that caused
DROP TEMPORARY TABLE IF NOT EXISTSto incorrectly return an error in cases where the table didn’t exist. -
Fixed a crash caused by a check on the maximum number of partitions allowed on a leaf node.
Now, an error message is surfaced when this is exceeded. -
Fixed issue that caused an error (
Transaction rolled back mid-query) to occur when running cross-database queries in multi-statement transactions. -
Enabled use of
gzipencoded files in GCS pipelines.
2020-12-17 Version 7. 1. 14
-
Reduced blocks on
UPDATEandDELETEcommands viabackground merger. -
Added a new variable,
default_, which sets a threshold for the number of rows that are locked when updating rows in a columnstore table before a table lock is acquired.columnstore_ table_ lock_ threshold For more information, see List of Engine Variables. -
Fixed an issue that occurred when a
TO_statement referred to a table that did not exist.QUERY -
When using binary protocol,
YEARtype results are now returned asMYSQL_.TYPE_ SHORT Previously, these results were incorrectly returned as a length-encoded string.
2020-11-23 Version 7. 1. 13
-
Fixed a crash caused by timestamp values during daylight savings time changes in columnstore tables using a timestamp as a sort key or unique key.
-
Fixed a crash that occurred when querying
information_,schema. COLUMNAR_ SEGMENTS information_, orschema. MV_ COLUMSTORE_ FILES information_whileschema. MV_ COLUMNAR_ SEGMENT_ INDEX ALTER TABLE … DROP INDEX .is being run concurrently in order to drop a secondary columnstore index.. . -
APPROX_now supports aggregates with a grouping set.COUNT_ DISTINCT For example, SELECT APPROX_.COUNT_ DISTINCT(column_ name) FROM table_ name GROUP BY ROLLUP(column_ name) -
In the output of
PROFILE, indicated cases where a corrupted secondary key is encountered while running a given query.
2020-11-09 Version 7. 1. 12
Warning
Version 7.
-
Added Avro schema evolution capabilities to Pipelines.
-
Fixed an issue that caused crashes when using
GROUPING()on expression inputs. -
information_now shows errors on tables a user has access to via roles and groups.schema. load_ data_ errors Previously, only direct grants allowed access to the view. -
Fixed an issue that caused crashes when using reference tables with unique keys on columnstores.
-
Fixed an issue that caused index corruption with columnstore secondary keys in cases where a single partition has more than 2 billion unique values.
-
Added support for audit logging levels other than
ALL-RESULTSmode when clients connect using server side prepared statements.Previously, enabling audit logging disabled use of prepared statements. -
Fixed a crash that occurred when
ANY_is included in a query.VALUE(NULL) -
Fixed a crash that occurred where a query-typed variable accesses a table via a 3-part name (for example,
dbname.) and the database referred to does not exist.tablename. columnname -
When a leaf node moves from the attaching state to the online state and an error is encountered attaching its partitions, we now more aggressively retry to ensure all partitions are attached before moving the leaf into the online state.
-
Snapshots of the memsql system database are now taken more frequently.
Previously, the memsql database was slower to recover on higher latency disk than user databases; more frequent snapshots speed up restart times. -
Blocked the creation of pipelines which refer to computed columns or columns set via a default value in the
WHEREclause. -
Allowed
memsqlctlto register multiple nodes with the sameauditlogsdir. -
Fixed a wrong result issue that caused only the first of multiple values with the same hash in a segment to be output when using an
INlist (for example,IN (a, b, c)) with a columnstore secondary hash index. -
Added a new engine variable
disable_that disables merging sub-queries if they contain STRAIGHT_subquery_ merge_ with_ straight_ joins JOIN in order to avoid unwanted query plans. Here, merging sub-queries refers to removing unnecessary nested layers from joins including sub-queries. For example, the query select * from (select * from table_would be rewritten asa straight_ join table_ b) table_ c straight_ join table_ d select * from table_if the engine variablea straight_ join table_ b straight_ join table_ d disable_is set tosubquery_ merge_ with_ straight_ joins OFF.If the variable is set to ON, the query would not be rewritten.The default setting is AUTO, which is equivalent toOFFin 7.1. -
Added the command memsqlctl unregister-node to unregister nodes in
memsqlctl.
2020-10-05 Version 7. 1. 10
-
Fixed an issue where restoring a backup from a local or network drive caused the partitions to be unevenly distributed across the leaves.
The issue occurred when leaf_was set tofailover_ fanout load_.balanced -
Fixed an issue where some
memsqlctlcommands that were run with the--timeoutflag would not exit after the specified timeout.
2020-09-28 Version 7. 1. 9
-
Fixed an issue that could prevent MemSQL from cleaning up stale data after a node goes offline due to an out of disk condition.
-
Fixed a crash caused by stored procedures which include an
INTOclause (that modifies variables), followed by anINclause. -
BACKUPandRESTOREcommands can now be governed by resource pools. -
Fixed an issue causing
RESTOREto fail after upgrading to MemSQL 7.1 and executing BACKUP … SPLIT PARTITIONS. -
Query hints are now supported inside query type variables in user defined functions and stored procedures.
-
The
CHECK BLOB CHECKSUMcommand now supports aWITH REPAIRoption that can repair file system corruptions as long as one copy of a corrupt columnstore blob file exists on the cluster. -
The query hint
OPTION (MATERIALIZE_was added to enable materialized common table expressions per query, as an alternative to the existing session variableCTES = AUTO) MATERIALIZE CTES. -
Fixed a wrong results bug that occurred when joining a query type value (QTV) with a user table, and accessing a column that doesn’t exist in the QTV definition, but does exist in the user table schema.
Previously, even if the column was specified as coming from the QTV, it was being read from the table. Now, specifying the QTV works correctly. -
BACKUP … TO AZUREnow waits four minutes before timing out slow operations against the Blob Store.
2020-08-31 Version 7. 1. 8
-
Fixed an issue that occurred when using server side prepared statements via the newer versions of the MariaDB client.
The MySQL client is unaffected. -
Fixed an issue cleaning up global temp tables on leaves during rebalancing operations.
-
Fixed an issue where two window functions with identical
ORDER BYandPARTITION BYclauses, but differingROWS BETWEENclauses, incorrectly output the same values. -
Fixed a performance issue with
JSON_.TO_ ARRAY() -
Fixed an issue where incremental autostats may enter an invalid state and be unable to recover automatically due to out of memory on a leaf node.
-
Improved error message in cases where MemSQL has issues accessing the
memsql.file.cnf -
Fixed an issue where
REPLICATE DATABASEwould fail in cases where no replicated database existed yet and the node containing the master aggregator was previously replaced with a new node. -
Added a
multipart_setting tochunk_ size_ mb SELECT .that controls the size of the file uploaded to S3 to support uploading larger result sets to S3.. INTO S3 -
Fixed an issue where auto-attach would fail to attach a partition but succeed in bringing the leaf online, resulting in offline partitions.
-
Ensured that any re-used existing replica partition is still forced in sync as part of the copy operation run as a step of a
REBALANCEoperation.Previously, this was a cause of failure in cases where REBALANCEfailed once prior. -
Fixed a failure when running a
ROLLUPquery over a constant expression. -
Audit logging now supports auditing logins and login attempts.
-
Audit logging file headers now include information about what level the file is logging at as well as if the level was changed.
-
Added a tracelog (memsql.
log) message to indicate if audit logging has been disabled from previously having been enabled. -
Added support for a
SELECTcontaining a semicolon in theCREATE TABLE .statement.. . AS SELECT -
Modified the infrastructure of the native monitoring solution by removing the Kafka and
memsql-pushercomponents and automating the monitoring setup with SingleStore Toolbox commands.
2020-08-10 Version 7. 1. 7
-
Fixed a compatibility issue that occurred when running newer versions of SAP Business Object Data Services (BODS) against MemSQL.
The issue was that the command SET sql_was not supported by MemSQL.mode = <expression> -
Fixed an issue that could occur when using columnstore unique keys in an update query with a join.
-
Avoid taking unneeded locks for queries writing into columnstore tables with unique key columns.
Taking these locks could cause transactions containing multiple statements to deadlock. -
Improved the error message returned when
REMOVE AGGREGATORis run on the master aggregator. -
The behavior of the
max_engine variable no longer applies to DDL queries.compilation_ time_ s Eliminating compilation timeouts for these queries, especially for ALTER TABLE, will prevent the queries from potentially running forever. -
Reduced the CPU usage required for many threads to allocate memory for variable length strings.
-
Added a new engine variable
convert_which, when set tononunique_ hash_ to_ skiplist ON, creates a skiplist index in place of any non-unique hash index.By default, the variable is set to OFF. -
Pipelines no longer stop executing if free disk space drops lower than
5 * <the value of the minimal_.disk_ space engine variable> They now stop executing if free disk space drops lower than 400 mb + <the value of the minimal_.disk_ space engine variable>
2020-07-27 Version 7. 1. 5
-
Now,
SHOW PROCESSLISTreturns the IP address of the client (in theHostcolumn) if the host name cannot be resolved. -
Fixed an issue that occurred when the engine variable
interpreter_was set tomode interpret_, where the first run of the query remained in interpreted mode even after compilation had finished.first -
Added support for
ALTER PIPELINE ... . SET RESOURCE POOL -
Improved the performance of rebalance partition operations that copy partitions with many small columnstore BLOB files.
-
Improved predicate transitivity rewrites to avoid adding redundant predicates.
This fixes compile timeouts for some queries with large numbers of predicates. -
Fixed an issue where the engine variable
explicit_could be set to a different value on new nodes added to the cluster, as compared to the existing value already set on existing nodes.defaults_ for_ timestamp This would cause the error partition’s table metadata are out of sync
when queries were run. -
Improved heartbeat failure detection when leaves were unresponsive to queries.
-
Fixed an issue where setting the engine variable
sql_tomode ONLY_would , for queries usingFULL_ GROUP_ BY INTERSECTandEXCEPT, incorrectly generate an error indicating a field is unaggregated and not in theGROUP BYclause. -
Fixed an issue where setting the engine variable
materialized_toctes ALLwould prevent certain queries usingINTERSECTandEXCEPTfrom running. -
Re-enabled support for certain nested subselects that had been added previously and then removed erroneously.
-
Improved the performance of batch deletes on columnstores.
The increase in performance depends on the encoding of the columns.
2020-07-06 Version 7. 1. 4
-
Now, license checks are Linux control group aware.
For containerized deployments, CPU and memory limits are checked against each container. -
ANALYZE TABLEnow requires theSELECTand (INSERTorALTER) permissions to execute. -
Added the TO_
JSON function, which converts a table column, an entire table, a scalar value, or a single row to a JSON object. -
Fixed a syntax error that occurred when using the
LINES STARTING BYorLINES TERMINATED BYoptions withSELECT .or. . INTO S3 SELECT ... . INTO KAFKA -
Improved the accuracy of the
PROFILEcommands that have ColumnStoreScan components. -
When
preserve_is set tooriginal_ colstore_ json ON, null values and empty arrays are preserved in JSON columns in columnstores. -
SSL ciphers that use elliptic curves are now supported.
-
Added an optimizer setting that allows you to adjust the cost of performing a cross join.
-
Fixed an issue where user-defined tables having the same name as system tables, such as
USERS, were treated as case-sensitive whentable_was set toname_ case_ sensitivity OFF.
2020-06-15 Version 7. 1. 3
-
Correctly generate an error when running
ALTER VIEWon a schema-bound view v1, where a schema-bound view v2 refers to v1. -
Fixed an auto-attach failure in specific failure conditions where a node quickly got marked offline and then online by the aggregator, but the node itself did not restart.
-
Fixed an issue where setting one of the three engine variables
collation_,server collation_, ordatabase collation_would not persist the value for all three variables on node restart.connection (Setting any of these variables will change the other two variables to the same value). -
EXPLAIN <query>,PROFILE <query>, andSHOW PROFILEcommands are now allowed inside of stored procedures. -
Improved predicate transitivity rewrites to avoid adding redundant predicates.
This fixes compile timeouts for some queries with large numbers of predicates. -
The
STATEcolumn of theinformation_view now indicates if a Pipeline has failed due to insufficient disk space.schema. PIPELINES
2020-05-28 Version 7. 1. 2
-
Initial GA release of SingleStore 7.
1
Last modified: March 8, 2024