Commit Graph

33 Commits

Author SHA1 Message Date
chihe
58771c8dc2 feat(remotecache): add config tool
close:#1000151163

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 037348725c)
2025-12-24 17:00:58 +08:00
chihe
48f600d419 feat(flashnode): add benchmark tool
close:#1000151163

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 7dee432348)
2025-12-24 17:00:58 +08:00
Victor1319
c3ccdfc7e2 refactor(sdk): remove dp cache code from sdk, client, cli. #1000063488
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
slasher
131b332136 chore(ci): split run test for cubefs and blobstore
@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-09 10:05:10 +08:00
slasher
59df85ac57 feat(dial): add dial testing for blobstore
@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-09 10:02:20 +08:00
NaturalSelect
604e1298ee chore(makefile): add rule to build in docker
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-01-09 14:19:28 +08:00
slasher
3fd0354057 feat(build): build with goreleaser
Signed-off-by: slasher <shenjie1@oppo.com>
2023-12-06 18:43:46 +08:00
ytyuanxi
06f46d9a52 feat(deploy): add a cfs-deploy tool
Signed-off-by: ytyuanxi <1206812491@qq.com>
2023-10-27 19:42:06 +08:00
NaturalSelect
f1f9e50109 feat(build): use parallel compile to speed up pre_build
Signed-off-by: NaturalSelect <2145973003@qq.com>
2023-08-30 20:05:32 +08:00
sunjiapeng
424d61ad4e fix(metanode): use uniqid to deduplicate link/unlink requests, prevent inode lost
Signed-off-by: sunjiapeng <782615313@qq.com>
2023-07-20 10:58:50 +08:00
yuxiaobo
ac75137295 build: the build script of blobstore is merged into cubefs
1. rocksdb upgrade to 6.3.6
2. optimize the build scripts
3. fix build errors
4. add env variable for blobstore unit test
5. update git ignore file to ignore build and test result
6. modify open files limit for unit test

Signed-off-by: yuxiaobo <yuxiaobo@oppo.com>
Signed-off-by: slasher <shenjie1@oppo.com>
Signed-off-by: Victor1319 <834863182@qq.com>
2023-05-23 15:24:53 +08:00
slasher
8e449b620e test(checks): upload test coverage to codecov
Signed-off-by: slasher <shenjie1@oppo.com>
2023-02-28 17:29:06 +08:00
tianjiongzhang
94b2744275 feature: client support blobstore
1. support read/write blobstore
2. multiple cache tier to acceleration data in datalake architecture

Signed-off-by: tianjiongzhang <236556116@qq.com>
Signed-off-by: bboyCH4 <hechi1014@126.com>
Signed-off-by: lixiang12407 <960754123@qq.com>
2022-04-13 15:57:55 +08:00
leonrayang
3224ce8003 update. build.sh change path to cubefs
Signed-off-by: leonrayang <chl696@sina.com>
2022-01-25 18:17:02 +08:00
Sheng Yong
8a970103cb fdstore: Add fdstore
fdstore is a tool to help live-upgrade cfs-client. It has several options:

 -p <port>: cfs-client pprof port
 -s: suspend cfs-client
 -r: resume cfs-client
 -d <nodes file>,<handles file>: dump files
 -n: generate dynamic UDS file name
 -v: show version

If suspend is specified, it will show the unix domain socket file. The
UDS file is used to do cfs-client resotre. If -n is not used, the UDS
name is always "/tmp/ChubaoFS-fdstore.sock". Example of suspend looks
like:

	fdstore -p 17410 -s

Signed-off-by: Sheng Yong <shengyong2021@gmail.com>
2022-01-14 12:53:59 +08:00
Sheng Yong
ed95c9f2ea build: tracking objectnode modification for cfs-server
Signed-off-by: Sheng Yong <shengyong2021@gmail.com>
2021-07-29 20:06:13 +08:00
Sheng Yong
819e97eb0e build: add rules for building fsck
Add rules for building fsck. Two ways to build fsck:
  * make fsck
  * ${ChubaoFS_SRC_DIR}/build/build.sh fsck
The target is cfs-fsck.

Signed-off-by: Sheng Yong <shengyong2021@gmail.com>
2021-07-29 20:05:35 +08:00
Mofei Zhang
e18c59da9b add libsdk compilation to project Makefile
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2021-01-28 14:37:33 +08:00
hooklee2000
9dc80b778f Fix: When downloading any file failed to vendor/dep, the make command will always failed except removing the /vender/dep folder manually
Signed-off-by: hooklee2000 <hooklee2000@gmail.com>
2020-09-04 14:33:49 +08:00
zhuzhengyi1
4277d441c7 Fix: fix cli build bug
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2020-07-24 16:04:57 +08:00
Mervin
a75fe4d85e
Add: init package and build script for cli tool
Signed-off-by: Mervin <mofei2816@gmail.com>
2020-03-11 13:11:26 +08:00
Lei Liu
10ae2a1fd5 makefile: slience /bin/sh syntax warning
~/chubaofs# make build
/bin/sh: 1: [[: not found

refer to https://stackoverflow.com/a/37528631/6288539

Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
2019-11-28 12:38:14 +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
zhuzhengyi1
f613e804cc build: remove client unused depends
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>

request-checks: true
2019-07-12 13:40:01 +08:00
zhuzhengyi1
abe6e1fb5a build: fix no root user permission bug
1. change /tmp/cfs path
2. update make clean/dist-clean

Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2019-07-11 15:24:49 +08:00
zhuzhengyi1
1f65750588 build: update build.sh
update .gitignore

Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2019-07-10 15:59:45 +08:00
zhuzhengyi1
b6004b225f build: update build.sh and Makefile
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2019-07-08 16:02:55 +08:00
zhuzhengyi1
602c2bde63 move rocksdb and snappy build dir
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2019-07-04 18:20:59 +08:00
zhuzhengyi1
6207f7e7a8 fix build with lua bug
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2019-07-04 12:52:01 +08:00
zhuzhengyi1
2ec8603e73 update makefile
add build.sh and makefile

Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2019-07-02 09:08:10 +08:00
贺伟
5dbc0b2d8c Integrated rocksdb compilation
Signed-off-by: 贺伟 <hewei8@ZBMAC-C02W136PH.local>
2019-07-01 12:21:59 +08:00
zhuzhengyi1
34a7290bae update ci 2019-04-30 09:22:46 +08:00
zhuzhengyi1
c432108600 add travis ci config 2019-04-18 18:10:49 +08:00