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.
The transport.activity.reporting_strategy property was defined only in
thingsboard.yml, so standalone MQTT, HTTP, CoAP, LwM2M and SNMP transport
services silently ignored TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY and
always used the LAST strategy. Add the same transport.activity block to
each tb-*-transport.yml.
- 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
- content-type.json: the first option of the Payload content type dropdown
in the Test decoder function dialog is "JSON"
- device profile MQTT and LwM2M labels and hints use "JSON"
- other en_US texts with "Json" or "json" are updated for consistency
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Update Turkish translation for 4.4: missing keys, terminology, consistency
* Remove Turkish keys that en_US no longer has
* Shorten the Turkish «Deprecated» label so the widget library column fits
The wizard no longer saves the entities itself and reverts them from
snapshots on a failure. It plans the update and the server applies it.
- POST /api/iot-hub/installedItems/{id}/deviceUpdate takes the entity of
each step, resolved from the new version's template, and saves all of
them with the new version of the installed item in one transaction.
Any failure rolls everything back. The audit log, version control and
attributes are written after commit.
- The server checks the plan: only the package's entities or confirmed
conflicts are overwritten, the device and its credentials never change,
and an entity changed since the check fails the update (version).
- GET .../deviceUpdate/check reports for each entity whether it still
exists, is shared with other packages, or was changed since install,
by a checksum the server keeps in the install state at install and on
update. Packages installed before keep the comparison with the template.
- An entity changed since install is overwritten only after a warning,
with a link to download its current version. A shared one shows the
shared warning.
- Only texts changed: the version is recorded without the wizard.
- Try again checks the update again. Errors show validation messages and
a common message for anything else.
A script passes a numeric-string metadata ts through unchanged, and the telemetry
parser reads it as a long, so the metadata keys must join that element too.