VoltDB
11.2.6
VoltDB Operator 1.6.10 |
VoltDB Helm Chart 1.6.10 |
December 20, 2022
This document provides information about known issues and limitations to the current release of VoltDB. If you encounter any problems not listed below, please be sure to report them to support@voltactivedata.com. Thank you.
The process for upgrading from the recent versions of VoltDB is as follows:
Shutdown the database, creating a final snapshot (using voltadmin shutdown --save).
Upgrade the VoltDB software.
Restart the database (using voltdb start).
For Kubernetes, see the section on "Upgrading the VoltDB Software and Helm Charts" in the VoltDB Kubernetes Administrator's Guide. For DR clusters, see the section on "Upgrading VoltDB Software" in the VoltDB Administrator's Guide for special considerations related to DR upgrades. If you are upgrading from versions before V6.8, see the section on "Upgrading Older Versions of VoltDB Manually" in the same manual.
Finally, for all customers upgrading from earlier versions of VoltDB, please be sure to read the upgrade notes for your current and subsequent releases, including V6, V7, V8, and V10.
Users of previous versions of VoltDB should take note of the following changes that might impact their existing applications. See the VoltDB Operator Release Notes for changes specific to the use of VoltDB on the Kubernetes platform.
1. Release V11.2.6 (December 20, 2022) | |||||||||
1.1. | Security updates | ||||||||
Various packages within Volt Active Data have been updated to eliminate known security vulnerabilities, including:
| |||||||||
1.2. | Additional improvements | ||||||||
The following limitations in previous versions have been resolved:
| |||||||||
2. Release V11.2.5 (July 7, 2022) | |||||||||
2.1. | Additional statistics for tracking communication between XDCR clusters | ||||||||
Several additional columns have been added to the first results table for the @Statistics DRPRODUCER selector (and the corresponding Prometheus agent metrics) to help evaluate the time between when binary logs are ready for transmission and when acknowledgement is received from the consumer. The new columns are the following and are reported in milliseconds:
The corresponding metrics in the Prometheus agent are:
| |||||||||
3. Release V11.2.4 (June 26, 2022) | |||||||||
3.1. | Recent improvements | ||||||||
The following limitations in previous versions have been resolved:
| |||||||||
4. Release V11.2.3 (June 22, 2022) | |||||||||
4.1. | Recent improvements | ||||||||
The following limitations in previous versions have been resolved:
| |||||||||
5. Release V11.2.2 (April 8, 2022) | |||||||||
5.1. | VoltDB Operator and Helm Charts updates | ||||||||
The VoltDB Operator and Helm charts for this release of Volt Active Data have been updated twice:
| |||||||||
5.2. | Additional improvement | ||||||||
The following limitation in previous versions has been resolved:
| |||||||||
6. Release V11.2.1 (March 7, 2022) | |||||||||
6.1. | Additional improvement | ||||||||
The following limitation in previous versions has been resolved:
| |||||||||
7. Release V11.2 (October 28, 2021) | |||||||||
This release focuses on improving the management of resources associated with running VoltDB in production. In particular, several new features allow you to set a retention policy for logs, snapshots, and other files created by the database system. Several of these features have new default values to reduce the proliferation of unnecessary files, as well as options to adjust the policy to your business needs. | |||||||||
7.1. | Retention policy for database log files | ||||||||
VoltDB writes informational, warning, and error messages to log files in a subfolder of the database root directory. By default, the log files "roll", creating a new file and renaming the old ones, on a daily basis. Previously, old log files were never deleted. Starting with this release, the default Log4J configuration file has been revised and now retains up to 30 log files. Older files are deleted. You can customize the configuration to change either or both the number of files retained or how frequently a new file is created. See the section on "Managing VoltDB Log Files" in the VoltDB Administrator's Guide for details. Note that if you use a customized Log4J configuration, your customization will take precedence and override the new behavior. | |||||||||
7.2. | Retention policy for snapshots during initiation | ||||||||
By default, snapshots created manually or through periodic snapshots are stored in the
snapshots folder in the database root directory. When you reinitialize the root
directory, using the Snapshots can be quite large, since they save the entire contents of the database. And previously, VoltDB
saved and renamed all of the extant snapshot folders. To avoid consuming unnecessary disk space, the
voltadmin init --force command now only saves the two most recent snapshot folders by default.
You can specify a different retention value with the | |||||||||
7.3. | Retention policy for final snapshots | ||||||||
When you shutdown the database with the voltadmin shutdown --save command, a final snapshot is created saving the database contents. Final snapshots are useful, particularly for saving and restoring the database when upgrading the VoltDB software. VoltDB does not delete the final snapshot after it is restored as a safety precaution, in case you decide the restored database has a problem or is not configured correctly. Saving the final snapshot gives you an opportunity to manually restore the database to another location in case of an emergency. However, once the final snapshot is restored and operational, the snapshot is no longer needed. Consequently, VoltDB now deletes all but the last two final snapshots when you create a new snapshot with the voltadmin shutdown --save command. This is a fixed limit. | |||||||||
7.4. | Retention policy for XDCR conflict logs | ||||||||
Cross datacenter replication (XDCR) records any conflicts that occur during active-active replication in the XDCR conflict logs. These logs give you the opportunity to review, analyze, and potentially correct any issues that arise from conflicting transactions. However, over time, subsequent transactions will make correcting old conflicts impractical. How long you need to save the conflict logs is a business decision. Therefore, by default, VoltDB maintains
the old behavior of keeping all conflict logs. (Except in the case of Kubernetes, where a default of 30 days is
applied.) You can specify a retention policy in terms of how long to keep log files by adding the <dr id="1" role="xdcr" conflictretention="14d" > The retention period can be specified in seconds, minutes, hours, or days (using the signifier
s, m, h, or
d). Alternately, you can configure the VOLTDB_XDCR_CONFLICTS export connector, which
overrides the | |||||||||
7.5. | Retention policy for file export | ||||||||
Similarly to XDCR conflict logs, a retention policy can be applied to the output files of any file export
connector. By default, all output files are retained. However, you can use the <export>
<configuration enabled="true" target="log" type="file">
<property name="retention">14d</property>
<property name="type">csv</property>
<property name="nonce">MyLogs</property>
</configuration>
</export> See the section on "The File Export Connector" in the Using VoltDB guide for details. | |||||||||
7.6. | VoltDB now supports Kubernetes on OpenShift | ||||||||
The VoltDB Operator has added support for running VoltDB databases in Kubernetes on the OpenShift platform from Red Hat. This expands VoltDB's Kubernetes compatibility to three of the major cloud platforms: AWS, Google Cloud, and OpenShift. For those interested in using OpenShift, please be sure to read the operational note later in this document for specific instructions on handling Transparent Huge Pages (THP) on the OpenShift platform. | |||||||||
7.7. | New Java client method for connecting to a list of potential hosts | ||||||||
The | |||||||||
7.8. | Additional improvements | ||||||||
The following limitations in previous versions have been resolved:
| |||||||||
8. Release V11.1.1 (October 11, 2021) | |||||||||
8.1. | Additional improvement | ||||||||
The following limitation in previous versions has been resolved:
| |||||||||
9. Release V11.1 (September 14, 2021) | |||||||||
9.1. | New Java client API, Client2 (BETA) | ||||||||
VoltDB V11.1 includes the Beta release of a new Java client library. Client2 provides a modern, robust and extensible interface to VoltDB for client applications written in Java. For example, Client2 uses Completable Futures to return information from asynchronous procedure calls, providing a more structured way of handling both successful and unsuccessful calls. The new API will also be the main platform for new client development in the future, starting with the ability to assign a priority for individual requests. Client-side priority queuing is available in the beta release and allows the client to prioritize certain procedure calls over others. See the javadoc for details. As with all beta releases, the new capabilities are believed to work as described. However, further testing and customer feedback is required before we can recommend its use for production. We encourage you to try the new client interface and provide feedback to support@voltactivedata.com. Thank you. | |||||||||
9.2. | New Helm plugin, voltadmin (BETA) | ||||||||
Helm and the VoltDB Operator make configuring and running VoltDB in Kubernetes easier. However, there are certain management operations that are awkward to perform using Helm properties alone. VoltDB provides a new Helm plugin, now in Beta release, to simplify these additional VoltDB management tasks. The Helm voltadmin plugin provides commands, similar to regular voltadmin commands, to perform management activities on a running cluster. For its initial release the Helm voltadmin plugin supports the following commands:
Additional commands will be added in future releases. Once installed, you use the plugin on the Helm command
line by specifying the plugin name (voltadmin), the name of the Helm release with the $ helm voltadmin --release=mydb dr reset --cluster=1 You can install the beta release of the voltadmin plugin with the following command: $ helm plugin install https://storage.googleapis.com/voltdb-kubernetes-charts/voltadmin-1.4.0-beta.tgz | |||||||||
9.3. | New --credentials argument added to Prometheus agent | ||||||||
The Prometheus agent for VoltDB has a new argument available when starting the agent from the shell command.
The $ cat $HOME/mycreds.txt username: admin password: mySpecialPassword $ ./voltdb/tools/monitoring/prometheus/voltdb-prometheus \ --credentials $HOME/mycreds.txt Using the | |||||||||
9.4. | Support for reporting incremental statistics in Prometheus | ||||||||
By default, the VoltDB Prometheus agent reports statistics for all time — since the database started.
You can now tell the agent to report statistics in increments, so that each timestamp reports on activity since the
last data was reported. For example, if data is collected every 10 seconds, the statistics for transactions per
second is the average TPS over the last 10 seconds, rather than the average since the server started. To report
incremental statistics, set the Helm property $ ./voltdb/tools/monitoring/prometheus/voltdb-prometheus --delta | |||||||||
9.5. | Ability to set DSCP priority for DR network traffic | ||||||||
VoltDB now lets you set a DSCP priority level for network packets associated with database replication (DR) by defining the environment variable DD_SOCKET_TRAFFIC_CLASS to the DSCP value you wish to use prior to starting the VoltDB process. For example, The following commands start the VoltDB server with the DR network traffic DSCP priority set to 3: $ export VOLTDB_OPTS="-DDR_SOCKET_TRAFFIC_CLASS=3" $ voltdb start -D ~/mydb For Kubernetes, the value can be set using the helm property
| |||||||||
9.6. | Support for Kubernetes 1.21 | ||||||||
The latest VoltDB Operator and Helm charts add support for Kubernetes up to version 1.21. The officially supported versions are Kubernetes 1.16.2 through 1.21.x. | |||||||||
9.7. | Additional improvements | ||||||||
The following limitations in previous versions have been resolved:
| |||||||||
10. Release V11.0 (August 12, 2021) | |||||||||
VoltDB 11 is a major release incorporating features from recent updates plus new capabilities. It includes the following major new features and improvements. | |||||||||
10.1. | VoltDB Topics | ||||||||
VoltDB Topics provide the intelligent streaming of VoltDB's existing import and export capabilities, but with the flexibility of Kafka-like streams. Topics allow for both inbound and outbound streaming to multiple client producers and consumers. They also use the existing Kafka interface to simplify integration into existing infrastructure. But most importantly, they allow for intelligent processing and manipulation of the data as it passes through the pipeline. VoltDB topics, which were released as a beta feature in V10.2, are now ready for production use. See the chapter on Streaming Data in the Using VoltDB manual for more information. | |||||||||
10.2. | Support for Python 3.6 | ||||||||
The VoltDB command line tools have been upgraded to use Python version 3. Python 3 is commonly available on modern operating systems and so simplifies the process of configuring platforms for VoltDB. | |||||||||
10.3. | New Kubernetes capabilities | ||||||||
Upgrades to the VoltDB Operator for Kubernetes provide two important new features:
| |||||||||
10.4. | VoltDB Java Client improvements | ||||||||
The VoltDB Java client interface has been updated with the following improvements:
| |||||||||
10.5. | Security updates | ||||||||
The VoltDB Management Center (VMC) web-based console for VoltDB has been updated to the latest versions of the jQuery libraries to address security vulnerabilities. The current library versions for VMC are JQuery v3.5.1 and jQuery-UI v1.12.1. |
The following are known limitations to the current release of VoltDB. Workarounds are suggested where applicable. However, it is important to note that these limitations are considered temporary and are likely to be corrected in future releases of the product.
The following notes provide details concerning how certain VoltDB features operate. The behavior is not considered incorrect. However, this information can be important when using specific components of the VoltDB product.
1. IPv6 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.1. | Support for IPv6 addresses | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VoltDB works in IPv4, IPv6, and mixed network environments. Although the examples in the documentation use IPv4 addresses, you can use IPv6 when configuring your database, making connections through applications, or using the VoltDB command line utilities, such as voltdb and voltadmin. When specifying IPv6 addresses on the command line or in the configuration file, be sure to enclose the address in square brackets. If you are specifying both an IPv6 address and port number, put the colon and port number after the square brackets. For example: voltadmin status --host=[2001:db8:85a3::8a2e:370:7334]:21211 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2. VoltDB Management Center | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2.1. | Schema updates clear the stored procedure data table in the Management Center Monitor section | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any time the database schema or stored procedures are changed, the data table showing stored procedure statistics at the bottom of the Monitor section of the VoltDB Management Center get reset. As soon as new invocations of the stored procedures occur, the statistics table will show new values based on performance after the schema update. Until invocations occur, the procedure table is blank. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3. SQL | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.1. | You cannot partition a table on a column defined as ASSUMEUNIQUE. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The ASSUMEUNIQUE attribute is designed for identifying columns in partitioned tables where the column values are known to be unique but the table is not partitioned on that column, so VoltDB cannot verify complete uniqueness across the database. Using interactive DDL, you can create a table with a column marked as ASSUMEUNIQUE, but if you try to partition the table on the ASSUMEUNIQUE column, you receive an error. The solution is to drop and add the column using the UNIQUE attribute instead of ASSUMEUNIQUE. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.2. | Adding or dropping column constraints (UNIQUE or ASSUMEUNIQUE) is not supported by the ALTER TABLE ALTER COLUMN statement. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You cannot add or remove a column constraint such as UNIQUE or ASSUMEUNIQUE using the ALTER TABLE ALTER COLUMN statement. Instead to add or remove such constraints, you must first drop then add the modified column. For example: ALTER TABLE employee DROP COLUMN empID; ALTER TABLE employee ADD COLUMN empID INTEGER UNIQUE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.3. | Do not use UPDATE to change the value of a partitioning column | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For partitioned tables, the value of the column used to partition the table determines what partition the row belongs to. If you use UPDATE to change this value and the new value belongs in a different partition, the UPDATE request will fail and the stored procedure will be rolled back. Updating the partition column value may or may not cause the record to be repartitioned (depending on the old and new values). However, since you cannot determine if the update will succeed or fail, you should not use UPDATE to change the value of partitioning columns. The workaround, if you must change the value of the partitioning column, is to use both a DELETE and an INSERT statement to explicitly remove and then re-insert the desired rows. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.4. | Ambiguous column references no longer allowed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Starting with VoltDB 6.0, ambiguous column references are no longer allowed. For example, if both the Customer and Placedorder tables have a column named Address, the reference to Address in the following SELECT statement is ambiguous: SELECT OrderNumber, Address FROM Customer, Placedorder . . . Previously, VoltDB would select the column from the leftmost table (Customer, in this case). Ambiguous column references are no longer allowed and you must use table prefixes to disambiguate identical column names. For example, specifying the column in the preceding statement as Customer.Address. A corollary to this change is that a column declared in a USING clause can now be referenced using a prefix. For example, the following statement uses the prefix Customer.Address to disambiguate the column selection from a possibly similarly named column belonging to the Supplier table: SELECT OrderNumber, Vendor, Customer.Address FROM Customer, Placedorder Using (Address), Supplier . . . | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4. Runtime | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.1. | File Descriptor Limits | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VoltDB opens a file descriptor for every client connection to the database. In normal operation, this use of file descriptors is transparent to the user. However, if there are an inordinate number of concurrent client connections, or clients open and close many connections in rapid succession, it is possible for VoltDB to exceed the process limit on file descriptors. When this happens, new connections may be rejected or other disk-based activities (such as snapshotting) may be disrupted. In environments where there are likely to be an extremely large number of connections, you should consider increasing the operating system's per-process limit on file descriptors. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.2. | Use of Resources in JAR Files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There are two ways to access additional resources in a VoltDB database. You can place the resources in the
LOAD CLASSES is used primarily to load classes associated with stored procedures and user-defined functions. However, it will also load any additional resource files included in subfolders of the JAR file. You can remove classes that are no longer needed using the REMOVE CLASSES directive. However, there is no explicit command for removing other resources. Consequently, if you rename resources or move them to a different location and reload the JAR file, the database will end up having multiple copies. Over time, this could result in more and more unnecessary memory being used by the database. To remove obsolete resources, you must first reinitialize the database root directory, start a fresh database, reload the schema (including the new JAR files with only the needed resources) and then restore the data from a snapshot. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.3. | Servers with Multiple Network Interfaces | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If a server has multiple network interfaces (and therefore multiple IP addresses) VoltDB will, by default, open ports on all available interfaces. You can limit the ports to an single interface in two ways:
Also, when using an IP address to reference a server with multiple interfaces in command line utilities (such as voltadmin stop node), use the @SystemInformation system procedure to determine which IP address VoltDB has selected to identify the server. Otherwise, if you choose the wrong IP address, the command might fail. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5. Platforms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.1. | OpenShift and Transparent Huge Pages (THP) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For production, VoltDB requires that Transparent Huge Pages (THP) are disabled because they interfere with memory-intensive applications. However, THP may be enabled on OpenShift containers and the containers themselves not have permission to disable them. To overcome this situation, you must run the Helm chart for disabling THP from a privileged container: $ helm -n kube-system install thp voltdb/transparent-hugepages \ --set thp.securityContext.privileged=true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.2. | Kubernetes Compatibility | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following table describes the compatibility matrix for versions of the VoltDB software, VoltDB Kubernetes Operator, and associated Helm Charts. The table identifies the versions of the Operator and Helm chart required and supported for running the specified version of the VoltDB server software. See the VoltDB Operator Release Notes for additional information about individual releases of the VoltDB Operator. Table 1. Kubernetes Software Compatibility Chart
|