276 Commits

Author SHA1 Message Date
Ingo Oppermann
958b1232db
Use official core API client 2023-05-12 17:56:49 +02:00
Ingo Oppermann
adf43eaf01
Merge branch 'dev' into cluster 2023-05-12 12:59:30 +02:00
Ingo Oppermann
7d2b7b4836
WIP: allow update processes in cluster 2023-05-12 12:59:01 +02:00
Ingo Oppermann
f3e410f4f5
Change resources to absolute values 2023-05-11 21:58:55 +02:00
Ingo Oppermann
e4ca661b25
Fix logging 2023-05-11 16:12:41 +02:00
Ingo Oppermann
f566dee9f2
Abstract raft into own package 2023-05-11 12:09:04 +02:00
Ingo Oppermann
d214607ff8
Move code into packages 2023-05-10 20:41:04 +02:00
Ingo Oppermann
862c36c9e6
Use reference affinity when distributing processes 2023-05-10 19:59:15 +02:00
Ingo Oppermann
7a2d0a7ad9
Use reference affinity while rebalancing processes 2023-05-10 15:45:08 +02:00
Ingo Oppermann
5af5c686ee
Add basic rebalancing of processes 2023-05-10 14:01:40 +02:00
Ingo Oppermann
ae04dc50c7
Add process synchronization in leader role 2023-05-09 20:48:30 +02:00
Ingo Oppermann
6046bc34c9
Merge branch 'main' into dev v16.13.0 2023-05-08 12:52:45 +02:00
Ingo Oppermann
e0fdc37e8d
Bump version to 16.13.0 2023-05-08 12:52:14 +02:00
Jan Stabenow
8f85b7665b
Mod updates workflows 2023-05-08 12:24:16 +02:00
Ingo Oppermann
ec7d47734b
Remove double import 2023-05-08 11:47:40 +02:00
Ingo Oppermann
ab86b8fd5d
Allow to add self to nodes 2023-05-08 11:39:43 +02:00
Ingo Oppermann
b8b2990e61
Add process storage in raft 2023-05-05 17:31:57 +02:00
Ingo Oppermann
f4015f5cbd
Merge branch 'dev' into cluster 2023-05-05 15:56:26 +02:00
Ingo Oppermann
ca261a56ee
Add looping_runtime to avstream status 2023-05-05 12:03:48 +02:00
Ingo Oppermann
cd58cf3df7
Fix panics if cluster is not enabled 2023-05-05 11:56:39 +02:00
Ingo Oppermann
e613a7423f
Update changelog 2023-05-05 10:47:32 +02:00
Ingo Oppermann
e76d140541
Update changelog 2023-05-05 10:44:25 +02:00
Ingo Oppermann
bd46d13bcf
Merge branch 'dev' into cluster 2023-05-05 10:25:09 +02:00
Ingo Oppermann
d41469cdbf
Upgrade rtmp library dependency
This fixes a bug in the rtmp library where an error has been left
unchecked caused by a malformed app or playPath. This led to a nil
value for the URL of the publish or play request. However, this
URL should never be nil and accessing this URL caused a panic and
finally shutting the core down, resulting in a DoS.

Thanks to Johannes Frank
2023-05-05 10:04:18 +02:00
Ingo Oppermann
95a1306a77
Remove api address from join request 2023-05-05 09:03:45 +02:00
Ingo Oppermann
7f59c188cf
Remove node storage, use raft configuration instead; re-establish file and stream proxying 2023-05-04 19:49:53 +02:00
Ingo Oppermann
d201921a33
Allow to provide complete cluster configuration
Replace CORE_CLUSTER_JOIN_ADDRESS with CORE_CLUSTER_PEERS. This is
a comma separated list of cluster members with their IDs of the form
ID@host:port

On startup the node tries to connect to all the peers. In case of
sudden deaths of a node this will allow to find back into the
cluster. The list in CLUSTER_PEERS is a starting point of known
peers. Other node that are not in that list can still join the
cluster.

File and stream proxy has been moved to the Proxy type.
2023-05-03 16:13:05 +02:00
Ingo Oppermann
c0a5325f05
Merge branch 'dev' into cluster 2023-05-03 11:17:54 +02:00
Ingo Oppermann
8e2874a456
Fix exposing build system paths in logs 2023-05-03 10:34:07 +02:00
Ingo Oppermann
4eb0258ba4
Add automatic bootstrap and recovery 2023-05-02 15:49:46 +02:00
Ingo Oppermann
74110dae54
Fix possible infinite loop with HLS session rewriter 2023-04-28 17:38:36 +02:00
Ingo Oppermann
e45f80ed42
Fix tests 2023-04-26 09:50:09 +02:00
Ingo Oppermann
a2dab2682f
Fix not propagating process limits 2023-04-26 09:49:28 +02:00
Ingo Oppermann
e849d325bd
Merge branch 'dev' of github.com:datarhei/core into dev 2023-04-25 15:57:28 +02:00
Ingo Oppermann
9b6354ab94
Revert commit b58cc8a7ee9fab3fd407fcdf477a52b8a3496062 2023-04-25 15:57:17 +02:00
Jan Stabenow
bea10cb114
Mod bumps FFmpeg to v5.1.3 2023-04-25 13:56:21 +02:00
Ingo Oppermann
b58cc8a7ee
Fix race condition 2023-04-24 16:09:01 +02:00
Ingo Oppermann
061542645c
Fix test 2023-04-24 12:28:42 +02:00
Ingo Oppermann
b3696f492d
Update changelog 2023-04-24 12:10:40 +02:00
Ingo Oppermann
317d6eb4d9
Add updated_at field in process infos 2023-04-24 12:05:01 +02:00
Ingo Oppermann
6ddd58a124
Preserve process log history when updating a process 2023-04-24 11:59:09 +02:00
Ingo Oppermann
75c11eb475
WIP: add recover option 2023-04-24 10:54:53 +02:00
Ingo Oppermann
386bdc0b6e
WIP: add emergency leader, api circuit breaker 2023-04-21 17:19:21 +02:00
Ingo Oppermann
27f19f9188
WIP: internal API 2023-04-17 14:01:20 +02:00
Ingo Oppermann
7643959bf8
WIP: raft leadership 2023-04-13 21:44:24 +02:00
Ingo Oppermann
b6a9fa7965
Merge branch 'dev' into cluster 2023-04-13 16:25:53 +02:00
Ingo Oppermann
d807becc8a
Add support for input framerate data from jsonstats patch 2023-04-13 15:22:33 +02:00
Ingo Oppermann
a1682b7aa4
Fix parsing S3 storage definition from environment variable 2023-04-13 12:19:20 +02:00
Ingo Oppermann
e6b64dbe97
WIP: raft 2023-04-13 09:42:19 +02:00
Ingo Oppermann
ffdf6d3323
Merge branch 'dev' into cluster 2023-04-12 15:27:38 +02:00