Victor1319
99e41928dd
feat(cmd): add healthy and ready check url. #1000296298
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 2802e5e486 )
2025-12-24 17:01:07 +08:00
clinx
e49098d7a7
fix(flashnode): fix the log filename and request parameters in the URL #1000257468
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 969c554f78 )
2025-12-24 17:01:00 +08:00
chihe
7db7d4ddfc
feat(flashgroupmanager): support api for flashgroup management
...
close:#1000153351
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 0f02785f81 )
2025-12-24 16:59:49 +08:00
chihe
4497d7de7a
feat(flashgroupmanager): support api service
...
close:#1000151163
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit e40e6c0597 )
2025-12-24 16:59:49 +08:00
chihe
d2c12c4813
enhance(flashnode): restruct the dirctory for code
...
close:#1000149211
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 22f7c23bee )
2025-12-23 16:15:17 +08:00
slasher
a3e89bcfaf
feat(flashnode): refinement flashnode
...
. #22200504 #22200509
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:59 +08:00
zhumingze
911db95789
fix(datacmd): modify the alarm level of logLeftSpaceLimitRatio parameter parsing errors #22904699
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
ecc4444490
fix(master): modify logic for reporting metric for diskError
...
close:#22771554
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
306132d83d
fix(util): modify clean logic of audit log and add test case #22858505
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
18ae97d850
feat(cmd): enable pprof configuration for signle-node deployment #22779997
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
a43f96d403
feat(dataclientmaster): support configuring datanode and metanode to forbidden
...
write operate codes of lower packet protocol version.
close#22531837
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
d9ee4e5130
feat(data): limit memory used
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
W9068822
d25840b71f
feat(metrics): report version of client, metanode, datanode, authnode, lcnode, objectnode
...
Signed-off-by: W9068822 <v-lijianrong1@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
S9054862
54fad0d873
fix(util): disable gohook by default
...
close : #21985685
Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-03-27 14:24:50 +08:00
NaturalSelect
39ea37d240
enhance(all): flush log before panic
...
close : #1910
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-02-08 14:45:55 +08:00
slasher
1d84f74acd
chore(format): format all code with gofumpt
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-01-12 14:21:16 +08:00
shuqiang-zheng
815c954a1a
fix gosec problems
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2023-12-08 16:20:56 +08:00
shuqiang-zheng
9cfb84a402
fix gosec problems
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2023-12-06 09:52:32 +08:00
setcy
7dfad1d6a0
feat(log): support config rotate size and head room
...
Signed-off-by: setcy <asetcy@gmail.com>
2023-11-22 17:30:59 +08:00
jyf111
3170184e86
chore(cmd): remove duplicate redirect code in cmd.go
...
Signed-off-by: jyf111 <jinyufeng2000@gmail.com>
2023-11-22 17:20:28 +08:00
NaturalSelect
e839eae5a7
feat(meta): support back-end audit log
...
close : #2625
Signed-off-by: NaturalSelect <2145973003@qq.com>
2023-10-18 14:51:09 +08:00
NaturalSelect
6c3b2dbd15
feat(log): print log to _output.log when start fail
...
close : #1917
Signed-off-by: NaturalSelect <2145973003@qq.com>
2023-08-30 20:05:32 +08:00
Patrick Wu
916cafd7a8
audit log: update lcnode idle status when processing heartbeat response, fix readdir bugs
...
Signed-off-by: Patrick Wu <wuchunhuan@oppo.com>
2023-08-30 20:05:32 +08:00
Patrick Wu
29e3110a93
S3 lifecycle
...
Signed-off-by: Patrick Wu <wuchunhuan@gmail.com>
2023-08-30 20:05:32 +08:00
shuqiang-zheng
a577776bc0
fix(log): fix bug that log configuration of logLeftSpaceLimit parsing failed, and add debug log when log deletion is triggered
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2023-08-09 14:01:52 +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
d38d7cf7f0
update: enable critical take effect while adjust log output level
...
Signed-off-by: leonrayang <chl696@sina.com>
2023-03-16 19:43:27 +08:00
Huweicai
76c20f7c71
feat: add switch for the redirection of standard output, which will be useful in container scenario
...
Signed-off-by: Huweicai <i@huweicai.com>
2022-11-02 12:16:28 +08:00
leonrayang
9a30b9f884
update: update to CubeFS
...
Signed-off-by: leonrayang <chl696@sina.com>
2022-08-22 18:16:09 +08:00
Victor1319
53c3a329ac
feature: support write ebs log to file and update ebs log level
...
Signed-off-by: Victor1319 <834863182@qq.com>
2022-04-13 15:57:55 +08:00
AmazingChi
884dfb4581
enhance: Limit buffer pool size
...
Signed-off-by: AmazingChi <hechi1014@126.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
Victor1319
1ba42ac7d3
fix: if server recive kill-signal before being running-state, server will can't be killed graceful
...
Signed-off-by: Victor1319 <834863182@qq.com>
2022-01-05 14:09:09 +08:00
Victor1319
8cd1d1c9cd
feature:print pid to file when server started
...
Signed-off-by: Victor1319 <834863182@qq.com>
2022-01-05 14:09:09 +08:00
Victor1319
b43e2dbd24
Enhancement: add some log when started fail to help resolve problem when server don't start in daemon way
...
Signed-off-by: Victor1319 <834863182@qq.com>
2021-02-09 14:41:48 +08:00
Mofei Zhang
9e44f4753c
Enhancement: shutdown process of DataNode
...
Improve the DataNode shutdown process, and make the raft apply ID
information of all data partitions persistent after receiving the
stop signal.
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-11-26 12:12:06 +08:00
Mofei Zhang
c458dd6409
Enhancement: unified version information
...
When using the build script to compile the program, it automatically
uses the latest git tag as the program version number information.
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-07-16 18:34:15 +08:00
awzhgw
ad7cda110f
Refactor: cfs-server -v add version 2.1.0
...
Signed-off-by: awzhgw <guowl18702995996@gmail.com>
2020-07-09 09:22:59 +08:00
ansjsun
b87a53234d
Enhancment: add console for operation
...
Signed-off-by: ansjsun <ansj-sun@163.com>
2020-07-03 17:28:10 +08:00
ansjsun
f0c164523e
add console node
...
Signed-off-by: ansjsun <ansj-sun@163.com>
2020-07-03 12:21:11 +08:00
Mervin
dd471b8c2a
Enhancement: wrap syscal.Dup3 to support build on darwin and windows
...
Signed-off-by: Mervin <mofei2816@gmail.com>
2020-03-03 23:19:24 +08:00
Till Klocke
278dc1805c
Replaced Dup2 syscall with Dup3, because Dup2 is not supported on aarch64 architecture, but Dup3 is
...
Signed-off-by: Till Klocke <till.klocke@gmail.com>
2020-03-03 15:04:09 +01:00
Shuoran Liu
ab00d37b0b
refactor: clean up duplicate server code
...
Signed-off-by: Shuoran Liu <shuoranliu@gmail.com>
2020-02-13 12:24:54 +08:00
Mofei Zhang
d609fedb5c
feature: object storage interface
...
Add ObjectNode provides S3-compatibile APIs.
Fusion Storage interface expose two interface (POSIX and S3-compatible) for file operation.
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2019-12-17 17:36:53 +08:00
jzeng04
60a4977980
Add a general Authentication & Authorization framework for chubaofs.
...
Signed-off-by: jzeng4 <jzeng04@gmail.com>
2019-11-18 09:51:43 +08:00
wuwenjia5
c8b46cc021
fix: return error from function LoadConfigFile to the caller
...
Signed-off-by: wuwenjia5 <wuwenjia5@jd.com>
2019-11-12 17:27:14 +08:00
Shuoran Liu
938c1075a3
fix: check LoadConfigFile before starting daemon
...
Check LoadConfigFile before starting daemon, since it will invoke
os.Exit() without notifying the parent process. So we should make sure
that it is successful.
Signed-off-by: Shuoran Liu <shuoranliu@gmail.com>
2019-11-12 17:27:14 +08:00
Shuoran Liu
8ce0f64ad0
fix: err is shadowed in server main function
...
Signed-off-by: Shuoran Liu <shuoranliu@gmail.com>
2019-09-04 17:17:50 +08:00
awzhgw
9c1e104822
Feature: support log module change loglevel on line
...
Signed-off-by: awzhgw <guowl18702995996@gmail.com>
2019-09-02 09:58:52 +08:00