Sergey Matvienko
4418f99dda
rule-engine: keep isolated tenants without dedicated servers managed by regular servers
HashPartitionService.resolveByPartitionIdx caches the fallback (regular)
servers of an isolated profile without dedicated servers in
responsibleServices. isManagedByCurrentService then saw a non-empty list
for that profile and reported its tenants as not managed on the regular
servers, although those servers own the tenants' partitions. This happens
as soon as any dedicated server exists in the cluster.
Remember which profiles have dedicated servers before the fallback entries
are added, and use that set in isManagedByCurrentService.
2 months ago
Viacheslav Klimov
c70d48a7aa
Merge pull request #16251 from thingsboard/feature/ai-websocket-channel
Made AI features work on instances behind NAT or a firewall, with no public base URL required
2 months ago
Viacheslav Klimov
922d24494e
Merge branch 'lts-4.3' into lts-4.4
2 months ago
Viacheslav Klimov
decfc23bea
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
2 months ago
Viacheslav Klimov
d069f126fa
Merge pull request #16333 from zzzeebra/fix/zk-discovery-creation-order
Fixed a stale ZooKeeper registration of a node being preferred over its re-registration
2 months ago
Viacheslav Klimov
e9385585d2
Merge pull request #16334 from zzzeebra/fix/lts-4.4/zk-discovery-creation-order
Fixed a stale ZooKeeper registration of a node being preferred over its re-registration
2 months ago
Viacheslav Klimov
1f20d95d84
Merge pull request #16336 from dskarzh/chore/bump-ai-version
chore: AI version set to 2.1.9-SNAPSHOT
2 months ago
Dmytro Skarzhynets
1956d6f471
chore: AI version set to 2.1.9-SNAPSHOT
2 months ago
Oleksandra Matviienko
65417760f4
Pick the latest ZK registration of a service by creation zxid instead of mtime
2 months ago
Oleksandra Matviienko
b3e77c6c9f
Pick the latest ZK registration of a service by creation zxid instead of mtime
2 months ago
Viacheslav Klimov
7bd156b555
Fix license headers
2 months ago
Viacheslav Klimov
b4c858b297
Merge branch 'lts-4.4' into feature/ai-websocket-channel
2 months ago
Viacheslav Klimov
76c515e3a7
Merge pull request #16329 from smatvienko-tb/fix/calculated-field-tenant-id-index
Improved startup performance of calculated fields in multi-tenant deployments
2 months ago
Sergey Matvienko
ca1b84ca5a
Add (tenant_id, id) index on calculated_field for tenant-scoped paging
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).
2 months ago
Viacheslav Klimov
486891f6eb
Merge pull request #16303 from zzzeebra/fix/customer-user-js-module-listing
Allowed customer users to pick tenant JS modules in widget actions
2 months ago
Viacheslav Klimov
8100d8632b
Merge pull request #16261 from MazurenkoNick/edge-ce-style-instructions
Support CE-style edge images and packages from 4.4.1 in edge instructions and agent apps
2 months ago
Viacheslav Klimov
7e1829bedd
Merge branch 'lts-4.3' into lts-4.4
2 months ago
Viacheslav Klimov
b88f75432d
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
2 months ago
Viacheslav Klimov
234ebcd4bd
Merge pull request #16301 from ViacheslavKlimov/tbIntegrationTests-ported
MSA tests for ThingsBoard integrations
2 months ago
Viacheslav Klimov
06c0fe7517
Merge pull request #16327 from thingsboard/fix/api-key-ws-customer-attrs-test
Authenticate the customer WS session with a customer API key in ApiKeyWebSocketApiTest
2 months ago
Viacheslav Klimov
0fe78321ca
Authenticate the customer WS session with a customer API key in ApiKeyWebSocketApiTest
2 months ago
Viacheslav Klimov
578f6fdb43
Merge pull request #16310 from zzzeebra/fix/report-ts-chart-hidden-yaxis-npe
Fixed time series chart report NPE when default Y-axis has no data
2 months ago
Viacheslav Klimov
eaee9f335d
Merge pull request #16323 from zzzeebra/fix/lts-4.4/zk-discovery-registration-check
Fixed partitions being lost after a ZooKeeper session expiry
2 months ago
Viacheslav Klimov
ab58fbce73
Merge pull request #16263 from zzzeebra/fix/zk-discovery-registration-check
Fixed partitions being lost after a ZooKeeper session expiry
2 months ago
Viacheslav Klimov
f3694fd17c
Merge branch 'lts-4.4' into feature/ai-websocket-channel
2 months ago
Mazurenko Nikita
bd85e18b77
Merge branch 'lts-4.4' into edge-ce-style-instructions
2 months ago
Viacheslav Klimov
9e87105850
Merge pull request #16245 from RomenKost/fix/trendz-proxy-regression-issue
Fix ERR_CONTENT_DECODING_FAILED in Trendz proxy after httpclient5 5.6.4 upgrade- #5236
2 months ago
Viacheslav Klimov
4ace05a821
Merge pull request #16320 from qjsoq/fix-jdbc-template-query-timeout-key
Fixed NamedParameterJdbcTemplate ignoring JAVAX_PERSISTENCE_QUERY_TIMEOUT
2 months ago
Viacheslav Klimov
7e3dadb9d4
Fix license headers after dropping the Lts prefix from migrations
2 months ago
Viacheslav Klimov
8228cd6c33
Merge pull request #16324 from thingsboard/fix/sql-upgrade-test-stubs
Stub the CE-to-PE delta only in the test that applies it
2 months ago
Viacheslav Klimov
484017816f
Stub the CE-to-PE delta only in the test that applies it
2 months ago
Oleksandra Matviienko
f227c51d2f
Merge fix/zk-discovery-registration-check into fix/lts-4.4/zk-discovery-registration-check
# Conflicts:
# common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java
2 months ago
Viacheslav Klimov
5813a95a01
Merge branch 'lts-4.4' into tbIntegrationTests-ported
2 months ago
Viacheslav Klimov
6962a6bde7
Merge branch 'lts-4.4' into feature/ai-websocket-channel
2 months ago
Dmytro Artamonov
f99b850fd5
Chore ce-modified license headers for changed files
2 months ago
Dmytro Artamonov
4b079d8eae
Fix NamedParameterJdbcTemplate ignores JAVAX_PERSISTENCE_QUERY_TIMEOUT
2 months ago
Nikita Mazurenko
38cd15cd20
Merge remote-tracking branch 'upstream/lts-4.4' into edge-ce-style-instructions
2 months ago
Nikita Mazurenko
b74cdd59b7
Move CE-style edge cutoff back to 4.4.1
2 months ago
Viacheslav Klimov
03cc1ba48d
Merge pull request #16318 from thingsboard/version-4.4.1
Version 4.4.1 with LTS patch upgrades by family
2 months ago
Viacheslav Klimov
7a926f2c1f
Accept upgrades by LTS family and drop the Lts prefix from migrations
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.
2 months ago
Viacheslav Klimov
01ec34c76e
Version set to 4.4.1-SNAPSHOT
2 months ago
Oleksandra Matviienko
07d3f4b960
Merge branch 'lts-4.4' into fix/report-ts-chart-hidden-yaxis-npe
2 months ago
Oleksandra Matviienko
1acf63a575
Merge branch 'lts-4.4' into fix/customer-user-js-module-listing
2 months ago
Viacheslav Klimov
e73a5af759
Merge pull request #16258 from AndriiLandiak/fix/coap-integration-certificate-reload
Fixed CoAP DTLS certificate reload for CoAP integrations
2 months ago
Andrii Landiak
1def2c6506
Move allow-circular-references into the spring block of the CoAP integration config
2 months ago
Viacheslav Klimov
d01acf7314
Merge pull request #16281 from thingsboard/lwm2m_fix_discovery_bs
Fixed LwM2M Bootstrap Discover operation by targeting specific objects instead of root
2 months ago
Viacheslav Klimov
7097379d67
Merge pull request #16311 from zzzeebra/fix/lts-4.4/alarm-comment-delete-wipes-all-comments
Fixed deleting a single alarm comment wiping all comments of the alarm
2 months ago
Viacheslav Klimov
8f287d8dee
Merge branch 'lts-4.4' into fix/coap-integration-certificate-reload
2 months ago
Viacheslav Klimov
2a9ab409d8
Merge pull request #16288 from MazurenkoNick/feature/edge-license-v2-proxy
Add Proxy edge license V2 support
2 months ago
Viacheslav Klimov
7cc90fb374
Merge branch 'lts-4.3' into lts-4.4
2 months ago