clinx
812388b33a
fix(cli): print error msg to console #1000060043
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
Victor1319
3a8f5eb3f8
feat(master): support query all client ip from master. #22834669
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
414229e0b5
fix(master): update dp cache after create vol
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
shuqiang-zheng
eed62c913f
enhance(log): Modify the threshold triggering log to logLeftSpaceLimitRatio of the total disk space
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
14ce5dc2cd
test(master): fix unit tests
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
slasher
5c7898354f
style(all): format all codes with golangci tools
...
closes #3371
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-14 09:54:13 +08:00
slasher
5d5e45cb0a
chore(util): store current time to atomic value
...
BenchmarkGetCurrentTime-4 100000000 11.60 ns/op 0 B/op 0 allocs/op
-->
BenchmarkGetCurrentTime-4 895091701 1.31 ns/op 0 B/op 0 allocs/op
Signed-off-by: slasher <mcq.sejust@gmail.com>
2024-01-31 19:13:25 +08:00
slasher
9b1f6270ae
chore(cli): catch errors on root of cmd
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-01-04 17:37:31 +08:00
slasher
7f406e5d0e
chore(cli): golangci lint apply into cli
...
Signed-off-by: slasher <shenjie1@oppo.com>
2023-10-23 15:31:07 +08:00
slasher
ff476f4d7d
chore(cli): gofumpt apply into cli
...
Signed-off-by: slasher <shenjie1@oppo.com>
2023-10-23 15:31:07 +08:00
M1eyu2018
65ec21d1a6
[Enhancement] add authentication for master admin api
...
Signed-off-by: M1eyu2018 <857037797@qq.com>
2023-08-24 16:05:12 +08:00
shuqiang-zheng
346c604692
fix(log): fix bug that logs were not cleaned in time.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2023-08-09 14:01:52 +08:00
leonrayang
9a30b9f884
update: update to CubeFS
...
Signed-off-by: leonrayang <chl696@sina.com>
2022-08-22 18:16:09 +08:00
leonrayang
cc406ae931
update: gofmt
...
Signed-off-by: leonrayang <chl696@sina.com>
2022-04-13 15:57:55 +08:00
chihe
49e62e794d
bugfix: fix some cli tools bugs
...
Signed-off-by: chihe <chi.he@oppo.com>
2022-04-13 15:57:55 +08:00
leonrayang
2970e2c3d1
update. go import path change from chubaofs to cubefs
...
Signed-off-by: leonrayang <chl696@sina.com>
2022-01-25 18:17:02 +08:00
Justice
72f035645e
feature: add gencfg command for cli to generate cluster config by yaml
...
Signed-off-by: Justice <zhengyi.zhu.hust@gmail.com>
2021-07-12 11:13:39 +08:00
awzhgw
cf7fbde1f5
Revert "Sync from release-20200720"
2020-11-11 14:23:59 +08:00
awzhgw
b230b7107d
Sync changes from release-20200720 branch.
...
Signed-off-by: awzhgw <guowl18702995996@gmail.com>
Signed-off-by: xuxihao1 <xuxihao3@jd.com>
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-11-09 16:03:42 +08:00
wenjia322
a2e5701a1f
enhancement: configurable request timeout for cli tool
...
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-07-21 15:09:07 +08:00
xuxihao1
f3cfd46577
enhancement: introduce log to cli tool and format error message
...
Signed-off-by: xuxihao1 <xuxihao3@jd.com>
2020-07-16 20:10:51 +08:00
xuxihao
85e4f0802a
Fix: Remove timeout limits on decommission operations in master client sdk.
...
Signed-off-by: xuxihao <xuxihao3@jd.com>
2020-06-30 10:13:34 +08:00
xuxihao
7343e33427
enhancement: Add several api such as decommission, freeze cluster and set threshold, add/delete partition replica to CLI tool
...
Signed-off-by: xuxihao <xuxihao3@jd.com>
2020-06-28 18:31:39 +08:00
xuxihao
10c957b810
Fix: the maxInodeID of a metapartition is not sync to others when recovered from snapshot; docker build failing when running build_docker.sh; spelling mistakes in cli
...
Refactor: upgrade base image from `cfs-base:1.0` to `cfs-base:1.1` in dockerfile
Signed-off-by: xuxihao <xuxihao3@jd.com>
2020-05-20 18:20:03 +08:00
xuxihao
a8b4075791
enhancement of cli: implement several interfaces; support bash completion; set config file by interactive command line
...
Signed-off-by: xuxihao <xuxihao3@jd.com>
2020-05-12 22:58:08 +08:00
Mofei Zhang
76bc8667af
Refactor: using cli instead of curl in CI scripts
...
Refactor: using cli instead of curl in CI scripts
Add: CLI command for CLI for adding more data partition to volume
Enhancement: optimize CLI output format
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-03-21 16:32:32 +08:00
Mofei Zhang
69f9018293
Add: CLI tool to improve cluster management
...
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-03-15 17:30:23 +08:00