Two classes used its @PostConstruct and @PreDestroy; they use the jakarta.annotation ones instead, which Spring handles the same way. proto and edge-api declared it for generated gRPC code that no longer uses it: gRPC 1.76 marks its stubs with @GrpcGenerated.
Google libraries still bring it transitively.
java-driver-core 4.17.0 of com.datastax.oss declares spotbugs-annotations (LGPL-2.1) at compile scope, so the packages shipped it. DataStax donated the driver to Apache, which publishes it as org.apache.cassandra:java-driver-* since 4.18.0, where spotbugs-annotations and jcip-annotations are provided instead of compile; the Java packages are the same.
4.19.3 is the version that spring-boot-dependencies manages and that Spring Data Cassandra is built with, so the root pom sets no version of its own: every module, the migrator of PE and 4.4 included, gets the driver from the BOM that spring-boot-dependencies imports. Since 4.18.0 the driver has bug fixes and opt-in features; its shaded Guava is now org.apache.cassandra:java-driver-guava-shaded, and it uses the lz4-java of at.yawk.lz4, which the root pom already manages.
Four classes of dao-api used the spotbugs @NonNull through the driver; they use the jspecify @NonNull instead, so dao-api declares jspecify and the root pom manages its version, 1.0.1, the one Guava declares. The driver's classes carry the jcip annotations, so dao-api declares jcip-annotations provided to compile against them.
Versioned cache writes (ts latest, attributes, versioned entity caches) took
a connection to the slot owner from the Jedis slot map and ran EVALSHA on it
directly, bypassing the Jedis cluster command executor. Only that executor
renews the slot map on MOVED or connection errors, so after a failover or a
node address change every later write to the moved slots failed until the
JVM restarted. A failed ts latest cache write fails saveLatest, so the
subscription update was never published and WebSocket clients got nothing.
- Send versioned puts through the cluster client: it follows MOVED/ASK and
renews the slot map itself.
- WATCH/MULTI and evictByPrefix still need a connection to one node: on a
connection or redirect error, renew the slot map and retry once.
- Build the JedisCluster in TbJedisClusterConnectionFactory, so the slot map
can be renewed on demand and is refreshed in the background
(redis.cluster.topology-refresh-period-sec, default 30 s, 0 disables).
- A transaction that queues EVALSHA fails with NOSCRIPT on a freshly promoted
replica. Load the script on that node and report the transaction as not
applied, instead of failing the read that filled the cache.
- Log saveLatest/removeLatest failures at WARN, at most once per 30 s. They
were logged only with TRACE enabled.
RedisClusterTopologyChangeTest covers a failover (old master alive, MOVED)
and a stopped master (old address gone) on a Valkey cluster; both fail on
the previous code.
- Integrations and converters need the INTEGRATIONS feature, as through their API
- An overwritten or created entity gets its step's attributes, as at install
- The checksum ignores debug settings and the default profile flag
- The installed item is locked during the update; a plan of another installed version is refused
- The integration check before save is shared with IntegrationController
- Without a checksum: dashboard image links and rule chain server fields don't count as changes;
with nothing to compare against, the entity counts as changed
- Renamed steps keep their form values, entity and check state
- An entity referring to an entity the update creates again is overwritten
- Instructions before the Update step resolve the installed entities
- The download link of a changed entity is one translation key
- The device install form shows placeholders, templated defaults, an
Advanced section and a ThingsBoard connection section with the MQTT host
and port, cleans pasted values, shows errors after the user leaves a field
and does not let the browser autofill ThingsBoard credentials.
- A field marked by the package checks the integration connection.
- The TTN and TTI install methods are named The Things Stack Sandbox and
The Things Stack Cloud.
- The TTN converter metadata includes the coding rate and the gateway channel.
- Deleting or updating a device package keeps the integrations, converters
and other entities that another installed device package uses, and the
delete dialog names them before the user confirms.
- The Open button of an installed item names what it opens.
getRuleNodeRelations keeps reading relations through the relation cache, but
validates their targets with the same batched check as getRuleNodesRelations,
so the rule engine and the metadata API cannot diverge on which connections
are valid.
A rule chain without nodes (just created, or with all nodes removed) passed an
empty id list to getRuleNodesRelations, which validateIds rejects, so the rule
chain actor failed to start or update.
Use id = ANY(:ids) / from_id = ANY(:fromIds) instead of IN lists, so the
statement text is the same for every batch size and prepared plans are
reused. Add a test with a rule chain larger than one batch and several
1 MB rule node configurations; it also runs on Citus.
Rule chain initialization issued roughly 3N + E sequential queries per
chain (N nodes, E node connections): one findById per node in
getRuleChainNodes, a second findRuleNodeById per node in the rule node
actor, one relation lookup per node for routes and one existence
check per route target. Each by-id read runs in its own read-only
transaction, so start-up is bound by round trips and JDBC connection
hand-offs, and it saturates the connection pool shared with message
processing on large multi-tenant deployments.
- getRuleChainNodes reads the chain's nodes with batched id IN queries
- new RuleChainService.getRuleNodesRelations loads the outgoing
relations of all chain nodes and validates rule node targets in
batches (RelationDao.findAllByFromIds); dangling relations are still
removed, as in getRuleNodeRelations
- initRoutes uses the batched relations
- the rule chain actor hands each loaded RuleNode to its rule node
actor, which copies it (deep-copied configuration, plus the fields the
RuleNode copy constructor skips) instead of re-reading it
Both batched reads are served by existing indexes (rule_node_pkey,
idx_relation_from_id).
Calculated field actors page through each tenant's calculated fields on
startup (WHERE tenant_id = ? ORDER BY id LIMIT ?). With no index leading on
tenant_id, every page and its count query scan the whole table and sort,
so startup cost grows with tenants x table size.
Ship the index in schema-entities-idx.sql for new installs and as a new
4.4.1.0 LTS migration for existing ones (4.4.0.0 is already released, and
the range lower bound is exclusive).
Offline upgrades now accept any version of a supported LTS family (4.3.x)
instead of fixed 4.3.0/4.3.1 prefixes, and refuse an older version of the
package's own family with a pointer to the no-downtime update applied on
startup, so third-digit releases such as 4.4.1 need no upgrade script.
The CE minimum for the CE-to-PE upgrade is 4.3.1.6, the first CE release
that ships the community grant.
LtsVersion, LtsMigration and LtsMigrationService are renamed to Version,
Migration and MigrationService, and the empty upgrade/basic/schema_update.sql
placeholder is removed along with its load.
The sys-tenant audit bypass added for tenant profile actions applied to every
action type, so ATTRIBUTES_READ reached constructActionData for SYS_ADMIN with
the null scope that the no-scope attributes endpoint passes, and scope.name()
threw an NPE inside the Guava callback. The DeferredResult was never completed
and the request hung until the async timeout.
Limit the bypass to write actions and tolerate a null scope in the
ATTRIBUTES_READ/ATTRIBUTES_DELETED action data, which also covers the same
NPE for any user when the audit mask is set to RW.