Commit Graph

421 Commits

Author SHA1 Message Date
6cf59043a3 Review and improve, add documentation 2026-01-14 08:59:27 +01:00
71b75eea0e Improve GetUsedNodes function 2026-01-14 08:49:55 +01:00
e900a686db Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-14 07:38:04 +01:00
fb8db3c3ae Add query which node metric data needs to be retained 2026-01-14 07:37:31 +01:00
Christoph Kluge
170a9ace8a Merge branch 'dev' of https://github.com/ClusterCockpit/cc-backend into dev 2026-01-13 16:59:57 +01:00
Christoph Kluge
518e9950ea add job exclusivity filter, review db indices 2026-01-13 16:59:52 +01:00
754f7e16f6 Reformat with gofumpt 2026-01-13 09:52:31 +01:00
4cec933349 Remove obsolete cluster config section 2026-01-13 06:28:33 +01:00
11ec2267da Major refactor of metric data handling
- make the  internal memory store required and default
- Rename memorystore to metricstore
- Rename metricDataDispatcher to metricdispatch
- Remove metricdata package
- Introduce metricsync package for upstream metric data pull
2025-12-25 08:42:54 +01:00
8576ae458d Switch to cc-lib v2 2025-12-24 09:24:18 +01:00
64fef9774c Add unit test for NATS API 2025-12-23 09:22:57 +01:00
1cd4a57bd3 Remove support for mysql/mariadb 2025-12-20 11:13:41 +01:00
Christoph Kluge
436afa4a61 fix tag count by including type in grouping 2025-12-18 15:55:30 +01:00
Christoph Kluge
19c8e9beb1 move extensive NodeMetricsList handling to node repo func 2025-12-18 10:44:58 +01:00
f4b00e9de1 Use Info instead of warn loglevel for database file missing msg 2025-12-17 08:38:00 +01:00
e6286768a7 Refactor variabel naming and update doc comments 2025-12-16 08:56:48 +01:00
d567a5312e Add flag omitTagged to DeleteJobsBefore
Fixes #344
2025-12-15 14:38:46 +01:00
44cda8a232 Add flag to obmit tagged jobs from TestFindJobsBetween 2025-12-15 13:25:22 +01:00
2b64b31393 Merge branch 'ai-review' into dev 2025-12-03 15:01:18 +01:00
Christoph Kluge
414147177a Vacuum not allowed within a migration transaction 2025-11-24 13:30:25 +01:00
Christoph Kluge
3b37f3630c add vacuum statement to migration
- reduces DB size after job table migration
2025-11-24 13:21:14 +01:00
Christoph Kluge
c4cf7e9707 Recreate job table indices after copy, add node table timstamp indices 2025-11-21 13:44:05 +01:00
Christoph Kluge
261905a364 unify out_of_memory jobState spelling
- underscores used in existing databases
2025-11-20 15:08:22 +01:00
f141ca926f Increase archive version. Fix unit tests. 2025-11-20 14:28:06 +01:00
Christoph Kluge
da8d562eba fix hardcoded dev variable 2025-11-20 13:25:09 +01:00
Christoph Kluge
399af8592c switch nodeList logic to SQLite as source of truth, fix nodeList continuous scroll
- keep notindb logic for now
2025-11-20 12:18:13 +01:00
6239e7f19b Merge branch 'dev' into ai-review 2025-11-20 08:59:52 +01:00
20838b6882 Add documentation to repository package 2025-11-20 07:38:54 +01:00
8f4ef1e274 Refactor repository
Fix issues
Improve transaction API
Make hardcoded constants configurable
Make error messages consistent and always add context info
2025-11-20 06:58:45 +01:00
Christoph Kluge
90c3381954 add nodeState info display and filtering to systems views 2025-11-18 15:56:55 +01:00
Christoph Kluge
c2c63d2f67 fix backend node queries
- wrong table name
- wrong scan field count: timestamp catch for log
2025-11-12 13:38:58 +01:00
Christoph Kluge
e49e5a0474 finalize timed node state backend code, concat functions 2025-11-05 18:17:29 +01:00
Christoph Kluge
714d6af7cd initial branch commit, improve countstate backend logic
- stacked component rough sketch
- gql data request pipeline layed out
2025-10-17 18:24:05 +02:00
6efd6334bb Fix unit tests 2025-10-17 07:06:31 +02:00
91f4475d76 Update test db 2025-10-17 07:05:45 +02:00
440cd59e50 Revert hpc_cluster to cluster. Refactor. 2025-10-16 14:32:06 +02:00
eefb6f6265 Cleanup after merge 2025-10-16 13:21:22 +02:00
f5e1226837 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-10-16 13:01:35 +02:00
151f7e701f Disable userConfig unit test 2025-10-16 12:54:29 +02:00
40398497c2 Update Node table code. Add simple unit test 2025-10-16 12:54:16 +02:00
Christoph Kluge
cda10788fb adapt migrated indices to new database structure, include node tables, update job indices 2025-10-15 10:46:24 +02:00
Christoph Kluge
5908ae7905 adapt status node query resolution to new node_state table 2025-10-14 18:45:05 +02:00
Christoph Kluge
6a43dfb0d7 Fix missing model.Aggregate entry, fix status queries and refresh 2025-10-14 18:43:00 +02:00
3d38d78845 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-10-13 16:13:53 +02:00
600f19ac80 Sync commit
Does not work yet
2025-10-13 16:12:02 +02:00
Christoph Kluge
471ec1cd2e change deprecated defaultMetrics loader to new confkey
- see PR #333
2025-10-08 18:24:41 +02:00
Christoph Kluge
cc9dafac6f fix sq.Update call 2025-10-02 18:10:58 +02:00
Christoph Kluge
32429f1481 adapt frontend for new uiConfig keys, add nodeOverview mutation 2025-10-02 18:10:33 +02:00
9485a463b8 Refactor node repository 2025-09-30 10:07:07 +02:00
35c6ab4a08 Ongoing work on node table
Sync commit: Does not compile
2025-09-30 10:06:19 +02:00