Gaius
4e65b41202
feat: add logLevel and remove verbose ( #4157 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-06-24 07:27:28 +00:00
Gaius
903ba33a5d
feat: support get info of the preheating image ( #4139 )
...
* feat: support get image by job
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: support get info of the preheating image
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: refactor GetImageJob to GetImageDistributionJob and improve error handling
Signed-off-by: Gaius <gaius.qi@gmail.com>
---------
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-06-18 10:57:22 +00:00
Gaius
d31df45b11
feat: set poolSize and poolTimeout for manager ( #4089 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-05-21 10:43:38 +08:00
Gaius
b2664ab56f
refactor(manager): redis proxy to use bufio.Reader for protocol detection ( #4062 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-05-13 09:28:31 +00:00
yxxhero
876fd78080
refactor(database/postgres): update migration comment for clarity ( #3992 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-04-25 10:51:39 +08:00
yxxhero
4406a0a1b2
style(database/postgres.go): Capitalize DSN in comment ( #3993 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-04-25 10:49:06 +08:00
Chlins Zhang
a61d870015
feat: add the default gc config ( #3987 )
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-04-23 09:57:50 +00:00
Chlins Zhang
bf5a3cbe67
feat: adds the audit middleware to records the system audit events ( #3958 )
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-04-16 17:58:24 +08:00
Gaius
14cf937baa
feat: add cacher for gorm to reduce the load of db ( #3734 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-12-30 17:28:48 +08:00
Gaius
b31e5bea91
feat: add rate limit for job open api by cluster ( #3638 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-11-08 15:18:07 +08:00
Gaius
e3b85839ab
feat: support set self-signed cert for service ( #3568 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-11 23:42:34 +08:00
pbannykh
92b26faa6f
fix: add sentinel authentication settings ( #3484 )
...
Signed-off-by: bannykh <bannykh@tochka.com>
2024-09-06 15:48:07 +08:00
Gaius
e0e96543d8
feat: remove trainer and model
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-27 14:03:04 +08:00
Chongzhi Deng
f76aaf1245
fix: typo in manager database ( #3191 )
...
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-04-16 14:04:58 +08:00
Gaius
856cc374c5
chore: update go-redis verison to v9 ( #3182 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-09 12:27:49 +08:00
Gaius
67c36f62b3
feat: remove concurrent_piece_count in scheduler ( #2942 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-12 16:39:16 +08:00
Sasha Melentyev
e25e35a1f4
chore(manager/database): rm unused cfg ( #2798 )
...
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-10-13 12:14:56 +08:00
pbannykh
189ea6c61c
fix: add option to disable prepared statement for postgres ( #2768 )
...
* fix: add option to disable prepared statement for postgres
Signed-off-by: bannykh <bannykh@tochka.com>
* fix: add option to disable prepared statement for postgres
Signed-off-by: bannykh <bannykh@tochka.com>
---------
Signed-off-by: bannykh <bannykh@tochka.com>
2023-10-08 10:47:01 +08:00
Gaius
c04462e93c
feat: peer information is changed from being stored in metrics to being stored in mysql ( #2654 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-08-22 10:38:27 +08:00
Gaius
5b7ea5da2a
Revert "feat: replace fmt.Sprintf with net.JoinHostPort" ( #2649 )
...
Revert "feat: replace fmt.Sprintf with net.JoinHostPort (#2642 )"
This reverts commit a6863f9b19 .
2023-08-17 17:21:50 +08:00
Gaius
a6863f9b19
feat: replace fmt.Sprintf with net.JoinHostPort ( #2642 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-08-16 16:45:14 +08:00
Gaius
c55148b726
feat: change default cluster name to cluster-1 ( #2604 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-08-07 17:53:28 +08:00
Gaius
d894aff384
feat: add personal access tokens api to rest server ( #2583 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-07-31 21:54:59 +08:00
Gaius
25edc40937
fix: evaluate after filter ( #2363 )
...
Since the final length of the filter is the candidateParentLimit used,
the parents after the filter is the returned parents.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:51 +08:00
Gaius
e403e62551
feat: move redis package to pkg dir ( #2294 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:47 +08:00
Gaius
aa90014804
feat: add cluster api in manager ( #2288 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:47 +08:00
Gaius
37c588608a
feat: remove security domain ( #2285 )
...
* feat: remove security domain
Remove security domain in dfdaemon and scheduler.
Remove SecurityGroup and SecurityRule table in manager.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:46 +08:00
Gaius
7900835c48
feat: if the scheduler feature is not in feature flags, then it will stop providing the featrue ( #2234 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:43 +08:00
Gaius
2cda1def7f
feat: rename HostName to Hostname ( #2205 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:40 +08:00
Gaius
9639918c0f
feat: remove model migration ( #2204 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:40 +08:00
Gaius
ae884dde79
feat: add inference model table in database ( #2192 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:39 +08:00
Gaius
b1171f4bd4
feat: rename manager/model to manager/models ( #2191 )
...
The manager model package is renamed to models to
prevent the same name as the future inference model database table.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:39 +08:00
Gaius
8b65c0c913
feat: add error log to database in manager ( #2172 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +08:00
Gaius
58034e4b1f
refactor: scheduling with v2 grpc ( #2104 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:32 +08:00
Gaius
1409e37ba3
feat: set gorm log level ( #2063 )
2023-06-28 17:34:29 +08:00
Gaius
f120c8778b
feat: support redis sentinal ( #1910 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:16 +08:00
Gaius
45ad287250
feat: add mysql read and write timeout ( #1868 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:13 +08:00
Gaius
7e24a85efa
feat: add calculateParentHostUploadSuccessScore to scheduler ( #1789 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:06 +08:00
Gaius
f354ee3861
refactor: manager and scheduler config ( #1701 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:57 +08:00
Gaius
13caf6f0c2
refactor: listenIP and advertiseIP ( #1694 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:56 +08:00
Gaius
29d4452277
feat: support redis cluster ( #1667 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:54 +08:00
Gaius
5da2d83990
feat: manager adds model and model version api ( #1530 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:42 +08:00
Gaius
642cc5d0f3
feat: scheduler adds filter range limit ( #1497 )
...
* feat: scheduler adds filter range limit
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: generate swagger
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:39 +08:00
Gaius
7f8dc02708
feat: manager support postgres ( #1459 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:36 +08:00
Gaius
a2511cb945
feat: rewrite interface{} to any ( #1419 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +08:00
embroede
d7b1bef09b
feat: enable configuration of the tls parameter for the mysql connection. i.e. tls=preferred ( #1300 )
...
* Default to tls=preferred for mysql connection
For communication from manager to mysql server, use `tls=preferred`
parameter to enable TLS whenever possible.
Signed-off-by: Edward Broeder <eddie.broeder@intel.com>
* Make mysql tls parameter configurable
Allow the user to specify the tls setting for the
mysql connection. An example would be setting tls
to "preferred", or "true". This is separate to
the tlsConfig config parameter, which is used to
set up a custom tls config, where tls key/certs
are specified.
See the tls parameter section in the below link:
https://pkg.go.dev/github.com/go-sql-driver/mysql#section-readme
Signed-off-by: Edward Broeder <eddie.broeder@intel.com>
2023-06-28 17:33:31 +08:00
Gaius
31a2c27a7c
feat: dynconfig add object storage ( #1369 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:27 +08:00
Gaius
faa5e4e465
feat: add seed peer logic ( #1302 )
...
* feat: announce seed peer
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: remove cdn logic
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: remove cdn job
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: dfdaemon change host uuid to host id
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: go generate mocks
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: remove cdn compatibility
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: change docker compose
Signed-off-by: Gaius <gaius.qi@gmail.com>
* fix: reuse panic
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: compatible with v2.0.3-beta.2
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:19 +08:00
Gaius
c55e05a1e6
feat: change default scheduler filter parent limit ( #1166 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:06 +08:00
Gaius
7adee4c2d9
feat: host remove peer ( #1161 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:05 +08:00