Victor1319
ff65346f7b
fix(master): check raft leader before handle leader change. #1000228487
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:19 +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
slasher
481fd33b9e
chore(master): turn off logging of testing in docker
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-01-04 17:37:31 +08:00
true1064
2ad71e47c9
refactor(master): For code readability and maintainability, rename field "size" of struct createVolReq to "dpSize"
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2023-10-30 17:04:17 +08:00
NaturalSelect
3d2b5719a7
feat(master): master does snapshot optimization
...
close : #1916
Signed-off-by: NaturalSelect <2145973003@qq.com>
2023-08-30 20:05:32 +08:00
Victor1319
0be52ae142
fix(test): import new raftstore package in test file
...
Closes #2355
Signed-off-by: Victor1319 <834863182@qq.com>
2023-08-09 14:01:52 +08:00
leonrayang
d5bb45ea49
docs. update to cubefs
...
Signed-off-by: leonrayang <chl696@sina.com>
2023-05-26 11:17:10 +08:00
leonrayang
2a67ed4104
feature: enable go mod and update vendor
...
1. add chubaofs-blobstore client
2. move origin modified vendor code to depends
1) raft
2) spf13
3) fuse
3) jacobsa
4) rocksdb
Signed-off-by: leonrayang <chl696@sina.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
Mofei Zhang
90daee7b26
fix: resolve cycle import issue in unit test by move common entity struct to proto package.
...
fix: make all unit test passed
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2019-12-25 17:48:04 +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
awzhgw
042f939bf3
FIX: DataNode: when dataPartition load,if applyId ==0 ,then start Raft
...
Signed-off-by: awzhgw <guowl18702995996@gmail.com>
2019-08-16 14:42:09 +08:00
zhuhyc
a3d3e02d72
enhancement: support config raft heartbeat port and add test case for raft related operational
...
Signed-off-by: zhuhyc <zzhniy.163.niy@163.com>
2019-08-16 14:42:09 +08:00
zhuhongyin
3cd677b28d
misc: multiple changes including refactor, enhancement and feature Refactoring: 1.task dispatch cycles are adjusted from milliseconds to seconds 2.vol name regular expression adjusted to global variable 3.support for creating new connections directly when sending tasks 4.when datanode reports heartbeats,volName should be reported 5.when metanode reports heartbeats,volName should be reported 6.when datanode reports loading data partition,volName should be reported 7.the volName parameter is required when the datanode pulls the datapartition information from the master 8.if the node switches from leader to follower, empty the vol, datanode, metanode and other metadata 9.each index is used to control the selection of datanode and metanode 10.reduce unnecessary logging 11.split meta partition 12.get vol information from cache
...
Enhancement:
1.If the creation of a data partition fails, the successfully created replica is deleted
2.If the creation of a meta partition fails, the successfully created replica is deleted
3.add unit test case
Feature:
1.add admin API for get all meta parititons under vol
2.support for truncating raft log
Signed-off-by: zhuhongyin <zhuhongyin@jd.com>
2019-08-16 14:42:09 +08:00