v.0.8.0¶
Improvements:¶
[LUNA-9014] Supported TLS (1.2 or newer) for connections to Redis/Valkey and Redis Sentinel: the
use_sslparameter is added to theLUNA_BUILDER_REDIS_DB_ADDRESSsetting (0by default). The certificate chain and the host name of every server are verified against the system trusted CA store, the verification cannot be turned off. A connection to a server with an untrusted or expired certificate or a certificate not matching the host name is rejected, the reason is logged.[LUNA-9014] With Redis Sentinel the master is connected to by the address the sentinels report, so the master certificate has to match that address: an IP address unless the sentinels announce host names (
resolve-hostnames yes,announce-hostnames yes).[LUNA-9014] Server certificates are verified in the strict mode (
VERIFY_X509_STRICT, Python 3.13 and newer): every certificate of the chain except the root one has to have the Authority Key Identifier extension, CA certificates have to have the Subject Key Identifier, Key Usage and critical Basic Constraints extensions. A server connected to by an IP address has to have that address among IP addresses of the Subject Alternative Name extension of its certificate.[LUNA-9015] Supported a Redis/Valkey Cluster for the build task storage: the
clustersection is added to theLUNA_BUILDER_REDIS_DB_ADDRESSsetting (discoveryandnodes). Luna Builder connects to one of the given startup nodes (nodes) or discovers the rest of the cluster from the configuredhost/port(discovery), routes every command to the node that owns the key, followsMOVEDandASKredirections and refreshes the cluster topology automatically, so it keeps working when slots are moved or a shard fails over. Build tasks may be spread across all the cluster shards. When both theclusterand thesentinelsections are set, theclusterone takes priority.[LUNA-9015] Added operation limits to the
LUNA_BUILDER_REDIS_DB_ADDRESSsetting: thelimitssection (connect_timeout,command_timeout,retry_attempts) bounds the time to establish a connection to a node (the TLS handshake included) and to wait for a response to a single command, and limits the number of retries of a command after a transient error (3by default).
Bugs fixed:¶
[LUNA-9052] Improved the stability of the service when working with Redis.
Migration:¶
See a migration manual.
[LUNA-9014] See a migration manual.
[LUNA-9052] See a migration manual.
[LUNA-9015] See a migration manual.