Gaius
93a8ebb4bc
feat: add dfstore command ( #1441 )
...
* feat: add dfstore command
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:34 +08:00
Jim Ma
cf7debf9c4
feat: back source error detail ( #1437 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:34 +08:00
Gaius
b3884178fb
feat: change local cache ttl ( #1436 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:34 +08:00
1037husterljx
3eccba8e21
Added unit tests on configuration ( #1430 )
...
Signed-off-by: ljx373327 <ljx373327@alibaba-inc.com>
Co-authored-by: ljx373327 <ljx373327@alibaba-inc.com>
2023-06-28 17:33:33 +08:00
Gaius
9eaf08a193
feat: if service can not found fqdn, replace fqdn with hostname ( #1435 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:33 +08:00
Gaius
f68ce30f26
feat: remove errors package ( #1434 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:33 +08:00
Gaius
4e57177055
chore: upgrade kind node version ( #1433 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:33 +08:00
Jim Ma
79bbaa02f6
chore: update docker compose ( #1431 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:33 +08:00
Jim Ma
5f1ccfe0a8
chore: exit when receive context done ( #1432 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:33 +08:00
Jim Ma
776a0fef42
feat: concurrent multiple pieces back source ( #1426 )
...
* feat: concurrent multiple pieces back source
* chore: update http source client
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:33 +08:00
Gaius
5640920136
chore: update codeql version ( #1428 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:33 +08:00
Jim Ma
baedf398e9
fix: seed task metric panic ( #1427 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:33:33 +08:00
Gaius
6735ceca86
chore: release v2.0.4 ( #1425 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +08:00
Gaius
6abacdbe80
feat: dfstore closes writer ( #1424 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +08:00
Gaius
567e8e978c
feat: use put object action ( #1422 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +08:00
Gaius
2071487da3
feat: GetObjectInput add range field ( #1421 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +08:00
Gaius
3b426d2c54
feat: rename client/clientutil to client/util ( #1420 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +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
Gaius
0222649b88
feat: update namely/protoc-all image version to 1.47_0 ( #1418 )
...
* feat: update namely/protoc-all image version to 1.47_0
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: generate mock file
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +08:00
Gaius
a64a842b2c
feat: update golang to 1.18.3 ( #1417 )
...
* feat: update golang version to 1.18.3
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: update go mod
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +08:00
Gaius
ad36eb64a7
feat: remove github/pkg/errors package ( #1416 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +08:00
Gaius
1d7cd9dd12
feat: add dfstore client interface ( #1415 )
...
* feat: add dfstore client interface
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +08:00
Gaius
75710ab761
feat: scheduler http status ( #1414 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +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
4f2f760b5e
chore: update submodule version
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +08:00
Gaius
5831b62383
fix: pkg/strings comment typo
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +08:00
Gaius
ec2a72d872
feat: import object to seed peer with max replicas ( #1413 )
...
* feat: create object storage with max replicas
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: import object storage with max replicas
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: add strings.Unique func
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:31 +08:00
Gaius
4ad950a8e3
feat: object storage add filter field ( #1412 )
...
* feat: object storage add filter field
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: object storage add logger
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: GetObjectMetadata return isExist
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:30 +08:00
lilongfeng
993841e0ef
note in protobuffer file has misspelling mistake ( #1411 )
...
* spelling error, just a little mistake
Signed-off-by: 李龙峰 <lilongfeng@inspur.com>
2023-06-28 17:33:30 +08:00
Gaius
2504f28cd0
feat: dfdaemon add destroyObject rest api ( #1410 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:30 +08:00
Gaius
30313a4caa
feat: client add create object storage ( #1409 )
...
* feat: add create object storage rest api
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:30 +08:00
Gaius
5aa7e27cfe
feat: seed peer add object storage port ( #1408 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:30 +08:00
Gaius
64f5e9357b
refactor: scheduler announce task ( #1407 )
...
* feat: scheduler announce normal task
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: remove cid
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:30 +08:00
jiasirui
9d092c13cd
ensure test yaml file start with --- ( #1406 )
...
Signed-off-by: jiasirui <jiasirui3@163.com>
2023-06-28 17:33:30 +08:00
Gaius
15d3274224
feat: rename digest func and add new digest func ( #1405 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
Gaius
ad827170a4
feat: dfdaemon upload and object storage service add middlewares ( #1404 )
...
* feat: dfdaemon upload and object storage service add middlewares
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
Gaius
e66b567eed
refactor: digest package ( #1403 )
...
* refactor: digest package
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
Gaius
7dd71d4a13
chore: goreleaser remove cdn
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
Gaius
7a30db3fba
refactor: pkg util ( #1402 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
Gaius
f688d341bd
feat: remove cdn ( #1401 )
...
* feat: remove cdn
Signed-off-by: Gaius <gaius.qi@gmail.com>
* docs: generate swagger
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
greenhandatsjtu
69f5d61e99
fix: downloadFromSource() doesn't validate response ( #1400 )
...
Signed-off-by: greenhandatsjtu <sunhengke@sjtu.edu.cn>
2023-06-28 17:33:29 +08:00
Gaius
233aac29db
feat: redirect stdout and stderr to file ( #1399 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:29 +08:00
Gaius
230966cf8f
feat: dfdaemon add GetObject rest api ( #1398 )
...
* feat: dfdaemon add GetObject rest api
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
chmod100
f6df29d372
fix: default repository does not exist and missing dependency containers ( #1395 )
...
Dragonfly2 starts with dependencies on mysql and redis, but they do not exist
in the script. and the default mirror repository d7yio does not exist.
Also some of the containers that depend on it when starting may not be ready
yet, so I added --restart=always.
Signed-off-by: LetFu <letfu@outlook.com>
2023-06-28 17:33:28 +08:00
1037husterljx
f90cc04f78
dfget config fix ( #1394 )
...
Signed-off-by: ljx373327 <ljx373327@alibaba-inc.com>
2023-06-28 17:33:28 +08:00
Gaius
d392b9f8aa
feat: add seed peer for list scheduler grpc interface ( #1393 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
Gaius
9cabf7638e
fix: validate rate limiter ( #1392 )
...
* fix: validate rate limiter
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
1037husterljx
512f242a4a
fix: dfget ratelimit params ( #1391 )
...
Signed-off-by: ljx373327 <ljx373327@alibaba-inc.com>
2023-06-28 17:33:28 +08:00
Gaius
171c0d54ee
feat: dfdaemon add object storage rest api ( #1390 )
...
* feat: dfdaemon add object storage rest api
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00
Gaius
4889a37886
feat: replace gin-gonic/gin with gorilla/mux ( #1389 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:28 +08:00