37 Commits

Author SHA1 Message Date
Dmytro Skarzhynets
69964a2413
Make script compilation errors unrecoverable during rule node initialization 2025-07-07 17:07:30 +03:00
ViacheslavKlimov
78d3a97dd0 Cleanup actor mailbox messages on destroy 2025-06-18 07:18:54 +03:00
YevhenBondarenko
a22376dd55 merge with master 2025-03-09 17:57:42 +01:00
Andrii Shvaika
62da129d6b Review comments fixed 2025-02-27 16:46:55 +02:00
ViacheslavKlimov
44439584f4 Merge branch 'master' of github.com:thingsboard/thingsboard into feature/calculated-fields 2025-02-25 11:49:56 +02:00
Igor Kulikov
5cf26d4851 Update license header 2025-02-25 09:39:16 +02:00
Andrii Shvaika
0332e0f0c9 Bug fixes for monolith 2025-02-05 16:39:48 +02:00
Andrii Shvaika
d3278f05bb WIP: Cluster mode refactoring 2025-01-27 17:34:35 +02:00
YevhenBondarenko
0cc55ab989 added tbel metrics, refactored JS stats 2024-12-10 12:26:44 +01:00
Dmytro Skarzhynets
bbe328d158 Implemented safe scheduled thread pool 2024-09-18 19:46:17 +03:00
YevhenBondarenko
788b33007d fixed NPE in RuleNOdeActorMessageProcessor 2024-09-13 16:26:26 +02:00
Sergey Matvienko
3bd268eaa4 fixed flaky testOneActorCreated 2024-04-30 17:26:26 +02:00
Oleksandra Matviienko
63df92e995 JUnit5 migration in common. Junit-platform.properties and logback-test.xml where added to java resource directories if needed.
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-26 23:55:17 +02:00
ViacheslavKlimov
10c13bf5b4 Fix actor msg broadcast 2024-02-23 14:00:43 +02:00
Igor Kulikov
c5a72ed8df Update license header to 2024 year. 2024-01-09 10:46:16 +02:00
ViacheslavKlimov
97e9f43f65 Add createCondition to TbActorCtx 2023-08-15 17:20:52 +03:00
ViacheslavKlimov
18ce96fd10 Ability to update isolated processing option in tenant profile 2023-07-25 15:43:34 +03:00
Andrii Shvaika
649898566c Add unrecoverable initialization error for actors. Fix timeouts on missing rule chain id in the rule chain input node 2023-06-21 19:05:42 +03:00
ViacheslavKlimov
8705a2324e Notification system improvements:
- rate limits
- notify on rule node start failure after attempts ended
- default general template for tenants + entities limit rule
- rename ACTION_TARGET_USER to AFFECTED_USER
2023-03-22 16:48:04 +02:00
Igor Kulikov
cbdc4517e4 Update license header year to 2023 2023-01-31 10:43:56 +02:00
Igor Kulikov
da4c742872 Update license year to 2022 2022-01-17 14:07:46 +02:00
Andrii Shvaika
a4cb27dfb9 Improvement to have only one place where we schedule the session timeout message 2022-01-14 12:40:16 +02:00
Sergey Matvienko
8601121e7e executors: named fixed thread pools; tests - added executor shutdown on tearDown 2021-09-01 14:08:03 +03:00
Sergey Matvienko
3f97bb682a executors: names added, shutdownNow for some executors to prevent memory leaks during lifecycle (mostly affects the test runner JVM) 2021-09-01 14:07:34 +03:00
Igor Kulikov
e7f30dff8d Increase timeout for actors tests 2021-07-19 13:04:36 +03:00
Sergey Matvienko
5a0336aae2 tests: refactored actor system Test (Thread.sleep replaced with countDownLatch) 2021-06-17 12:57:31 +03:00
Andrii Shvaika
58e31ceb78 Improvement to the restarts of the rule nodes 2021-02-11 18:19:40 +02:00
Andrii Shvaika
cfb8a72f06 Memory leak fix for cases when actors fail to initialize or stopped. Cleanup TbMsgPackProcessingContext as well. 2021-02-10 16:21:42 +02:00
Igor Kulikov
22e5771120 JDK 11 Support 2021-02-04 19:31:20 +02:00
Igor Kulikov
d31358b2ea Update license header - set 2021 year 2021-01-11 13:42:16 +02:00
vzikratyi-tb
89419c6999
Prometheus Metrics (#3052)
* Moved resetting ruleEngineStats to Consumer

* Moved counters to Map in TbCoreConsumerStats

* Added actuator and MetricsService

* Added metrics to core and rule_engine consumers

* Replaced summary with counters

* Removed most setters and getters from TbRuleEngine stats

* Added stats to Transport consumer

* Added JsInvoke actuator stats

* Removed MetricsService
2020-07-06 14:47:36 +03:00
Andrii Shvaika
ab890e6b1c Improved handling of peak connect attempts 2020-06-08 13:41:49 +03:00
Andrii Shvaika
a6733c42c4 ThingsBoard Actor Init improvements 2020-06-08 10:58:22 +03:00
Andrii Shvaika
cc4f746b1d Using Exectutor in Kafka Node. NEVER use Fork-Join pool with parallelism 1 2020-06-05 12:54:27 +03:00
Andrii Shvaika
3358c061da Improvements to Mailbox. HighPriorityQueue 2020-06-05 10:26:50 +03:00
Andrii Shvaika
bb1585592b Actor System refactoring 2020-06-04 17:59:55 +03:00
Andrii Shvaika
0fbe40c2a6 TB Actor System initial commit 2020-06-03 19:33:49 +03:00