Ingo Oppermann
17ffa2b700
Upgrade github.com/golang-jwt/jwt to v5
2023-09-04 17:45:01 +02:00
Ingo Oppermann
722d3a4cab
Update dependencies
2023-09-04 16:46:37 +02:00
Ingo Oppermann
fde99733c6
Add term number to cluster leader synchronization and rebalance logs
2023-09-04 15:06:25 +02:00
Ingo Oppermann
ce362e76bb
Fix occasional process rebalance if node resources are not reliable
2023-09-04 12:16:02 +02:00
Ingo Oppermann
157b35b396
Update dependencies
2023-08-31 14:06:17 +02:00
Ingo Oppermann
8fef2dea65
Add address resolver and validator for probe
2023-08-09 14:47:56 +03:00
Ingo Oppermann
707a423e4c
Update API docs
2023-08-09 14:10:38 +03:00
Ingo Oppermann
d19010944d
Add POST /cluster/process/probe endpoint
2023-08-09 14:10:16 +03:00
Ingo Oppermann
15d317a1cd
Add POST /process/probe endpoint
2023-08-09 10:41:23 +03:00
Ingo Oppermann
d930a91cbb
Provide Probe() a config instead of a process ID
2023-08-09 09:30:17 +03:00
Ingo Oppermann
3d7230444f
Return *url.Userinfo from identity.GetServiceBasicAuth()
2023-08-08 17:19:57 +03:00
Ingo Oppermann
8caab33ba8
Fix identity alias
2023-08-08 16:53:31 +03:00
Ingo Oppermann
76b3713b2e
Upgrade dependencies
2023-08-08 13:06:59 +03:00
Ingo Oppermann
0b718b8b18
Add IAM identity alias to API
2023-08-03 17:28:02 +03:00
Ingo Oppermann
2c2d460a19
Allow an alias for an identity name
2023-08-03 17:22:16 +03:00
Ingo Oppermann
90974fed30
Fix missing UnescapePath for a token
2023-08-03 09:40:56 +03:00
Ingo Oppermann
dc11d33a97
Add benchmark for reading files
2023-08-03 09:38:36 +03:00
Ingo Oppermann
8be031a3d1
Use RLock instead of Lock
2023-07-26 11:34:29 +02:00
Ingo Oppermann
80feb0b565
Use RLock instead of Lock
2023-07-26 11:28:22 +02:00
Ingo Oppermann
ceb2144da5
Fix using clusterfs for API fs operations
2023-07-26 11:27:14 +02:00
Ingo Oppermann
d74165a90a
Add node resource error, replace ping with about
2023-07-25 17:17:20 +02:00
Ingo Oppermann
81581091e8
Move read-lock after function call that also uses that lock
2023-07-25 17:14:11 +02:00
Ingo Oppermann
dc9727bfef
Update dependencies
2023-07-25 17:13:10 +02:00
Ingo Oppermann
bb5b580561
Don't use a map for the process list
2023-07-24 10:32:51 +02:00
Ingo Oppermann
3e842f2b2f
Fix cleanup path becomes relative when prepended with domain
2023-07-23 20:39:49 +02:00
Ingo Oppermann
bc76b4615d
Fix redeploying process when locally deleted
2023-07-23 20:33:18 +02:00
Ingo Oppermann
6789dbb783
Fix potential nil dereference
2023-07-23 16:15:01 +02:00
Ingo Oppermann
eea1e2e517
Give reason why session validation failed
2023-07-23 16:14:09 +02:00
Ingo Oppermann
5faf1825a6
Remove unrequired fields from session token, parametrize TTL
2023-07-21 15:49:57 +02:00
Ingo Oppermann
4b79576340
Fix proper check of allowed remote values in session token
2023-07-21 15:40:19 +02:00
Ingo Oppermann
a8fbdd288f
Fix missing ? in path in session log
2023-07-21 15:39:41 +02:00
Ingo Oppermann
2844d2d7a2
Split Lock type into its own file
2023-07-21 15:38:43 +02:00
Ingo Oppermann
3a13bbf88b
Update core client package
2023-07-21 11:50:16 +02:00
Ingo Oppermann
a193e93b94
Update core client package
2023-07-21 10:31:33 +02:00
Ingo Oppermann
ff2b7fe054
Add cache for file to node relation in cluster proxy
2023-07-20 20:51:20 +02:00
Ingo Oppermann
11e28a8d37
Fix event filter
...
If a filter provides a k/v map, then the keys must exist in the event,
otherwise it's not a mach.
2023-07-20 15:43:28 +02:00
Ingo Oppermann
e6391b0b7b
Replace polling with asking other nodes for files in proxy
...
Polling has the drawback, that it's usually delayed and can lead to
404 responses even though the files would be available on another
node. With asking, this problem doesn't exist but it may lead to
more internal requests and a bit higher latency.
2023-07-20 15:17:03 +02:00
Ingo Oppermann
910c727585
Fix updating reference affinity map
2023-07-20 11:35:16 +02:00
Ingo Oppermann
97a8e0f815
Use same permission mask
2023-07-19 17:41:02 +02:00
Ingo Oppermann
1f24ea1b00
Check for correct error
2023-07-19 17:18:58 +02:00
Ingo Oppermann
bdcf4bdeb4
Introduce ErrNotExist and ErrExist in io/fs package
2023-07-19 16:42:30 +02:00
Ingo Oppermann
a03b38c4a6
Fix restoring empty session history
2023-07-19 16:25:27 +02:00
Ingo Oppermann
2f85f78c38
Move map initialization to an earlier point
2023-07-19 13:24:28 +02:00
Ingo Oppermann
c1b47036d6
Fix error if history file doesn't exist
2023-07-19 13:17:55 +02:00
Ingo Oppermann
165db9dc96
Add info log for mounted filesystems
2023-07-19 10:34:59 +02:00
Ingo Oppermann
95a2ec5667
Allow to filter events by level and message
2023-07-18 21:51:07 +02:00
Ingo Oppermann
9358ab79ed
Update dependencies
2023-07-17 21:52:15 +02:00
Ingo Oppermann
8a8ff6d4f4
Add LimitMode and Resources.CPU.IsThrottling to process state
2023-07-17 21:45:19 +02:00
Ingo Oppermann
5b075ed54b
Update swagger docs
2023-07-17 20:59:17 +02:00
Ingo Oppermann
8123b09dcf
Fix providing correct last_contact value for node
2023-07-17 20:55:29 +02:00