Muhammad Hallaj bin Subery
|
9bd422d2c9
|
adding support for B2 region (#4177)
Co-authored-by: Muhammad Hallaj bin Subery <hallaj@tuta.io>
|
2023-02-05 21:24:21 -08:00 |
|
Guo Lei
|
d8cfa1552b
|
support enable/disable vacuum (#4087)
* stop vacuum
* suspend/resume vacuum
* remove unused code
* rename
* rename param
|
2022-12-28 01:36:44 -08:00 |
|
chrislu
|
70a4c98b00
|
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
|
2022-11-15 06:33:36 -08:00 |
|
chrislu
|
ea2637734a
|
refactor filer proto chunk variable from mtime to modified_ts_ns
|
2022-10-28 12:53:19 -07:00 |
|
Eric Yang
|
51d462f204
|
ADHOC: volume fsck using append at ns (#3906)
* ADHOC: volume fsck using append at ns
* nit
* nit
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
|
2022-10-24 22:09:38 -07:00 |
|
Konstantin Lebedev
|
e20f0dbd2d
|
avoid data race of TraverseBfs (#3856)
* avoid data race of TraverseBfs
* close is enough
avoid panic
I1014 12:29:59.207120 volume_loading.go:131 loading sorted db /tmp/sw/test2_19.sdx error: unexpected file /tmp/sw/test2_19.idx size: 255
I1014 12:29:59.207125 volume_loading.go:119 open to write file /tmp/sw/test4_26.idx
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5260a4c]
goroutine 287 [running]:
github.com/seaweedfs/seaweedfs/weed/storage.(*SortedFileNeedleMap).Close(0x0)
/Users/tochka/GolandProjects/seaweedfs/weed/storage/needle_map_sorted_file.go:97 +0x2c
github.com/seaweedfs/seaweedfs/weed/storage.(*Volume).load.func1()
/Users/tochka/GolandProjects/seaweedfs/weed/storage/volume_loading.go:32 +0x8e
github.com/seaweedfs/seaweedfs/weed/storage.(*Volume).load(0xc001b36280, 0x1, 0x1, 0x0, 0x69228c0?)
/Users/tochka/GolandProjects/seaweedfs/weed/storage/volume_loading.go:205 +0x256c
github.com/seaweedfs/seaweedfs/weed/storage.NewVolume({0x7ffeefbff6e0, 0x7}, {0x7ffeefbff6e0, 0x7}, {0xc0009a9284, 0x5}, 0x13, 0x0, 0x0, 0x0, ...)
/Users/tochka/GolandProjects/seaweedfs/weed/storage/volume.go:62 +0x30f
github.com/seaweedfs/seaweedfs/weed/storage.(*DiskLocation).loadExistingVolume(0xc0006f40c0, {0x846c8d0, 0xc0009ce600}, 0x0?, 0x1)
/Users/tochka/GolandProjects/seaweedfs/weed/storage/disk_location.go:161 +0x4da
github.com/seaweedfs/seaweedfs/weed/storage.(*DiskLocation).concurrentLoadingVolumes.func2()
/Users/tochka/GolandProjects/seaweedfs/weed/storage/disk_location.go:201 +0xf9
created by github.com/seaweedfs/seaweedfs/weed/storage.(*DiskLocation).concurrentLoadingVolumes
/Users/tochka/GolandProjects/seaweedfs/weed/storage/disk_location.go:198 +0x150
|
2022-10-16 11:30:41 -07:00 |
|
chrislu
|
b90d92fca9
|
grpc: watch metadata changes by directory
|
2022-09-20 09:25:18 -07:00 |
|
chrislu
|
21c0587900
|
go fmt
|
2022-09-14 23:06:44 -07:00 |
|
Ryan Russell
|
a8d7615eec
|
refactor(filer_client): EachEntryFunciton -> EachEntryFunction (#3671)
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
|
2022-09-14 11:24:45 -07:00 |
|
Eric Yang
|
b324a6536c
|
ADHOC: add read needle meta grpc (#3581)
* ADHOC: add read needle meta grpc
* add test
* nit
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
|
2022-09-06 23:51:27 -07:00 |
|
chrislu
|
eaeb141b09
|
move proto package
|
2022-08-17 12:05:07 -07:00 |
|
Konstantin Lebedev
|
4d08393b7c
|
filer prefer volume server in same data center (#3405)
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
|
2022-08-04 17:35:00 -07:00 |
|
Konstantin Lebedev
|
3c75479e2b
|
Merge branch 'master' into gentle_vacuum
# Conflicts:
# weed/pb/messaging_pb/messaging.pb.go
# weed/pb/messaging_pb/messaging_grpc.pb.go
# weed/pb/s3_pb/s3.pb.go
# weed/pb/volume_server_pb/volume_server.pb.go
# weed/server/volume_grpc_vacuum.go
|
2022-08-01 14:45:22 +05:00 |
|
chrislu
|
afef014832
|
scaffold
|
2022-07-31 13:23:44 -07:00 |
|
chrislu
|
26dbc6c905
|
move to https://github.com/seaweedfs/seaweedfs
|
2022-07-29 00:17:28 -07:00 |
|
Konstantin Lebedev
|
2f0dda384d
|
vacuum show LA
|
2022-07-29 11:59:33 +05:00 |
|
chrislu
|
de3afd4199
|
fix rebasing
|
2022-07-28 23:25:46 -07:00 |
|
chrislu
|
8060fdcac5
|
remove old code
|
2022-07-28 23:24:38 -07:00 |
|
chrislu
|
64f3d6fb6e
|
metadata subscription uses client epoch
|
2022-07-23 10:50:28 -07:00 |
|
chrislu
|
530da0cc89
|
remove unused code
|
2022-06-22 00:34:25 -07:00 |
|
Chris Lu
|
f43ec9f363
|
Merge pull request #3130 from kmlebedev/fix_rm_parent_dir_via_nextcloud
|
2022-06-07 08:56:55 -07:00 |
|
Konstantin Lebedev
|
c07820178f
|
fix s3 tests
bucket_list_delimiter_prefix
bucket_list_delimiter_prefix_underscore
bucket_list_delimiter_prefix_ends_with_delimiter
|
2022-06-07 14:43:10 +05:00 |
|
chrislu
|
4fd5f96598
|
filer: remove replication, collection, disk_type info from entry metadata
these metadata can change and are not used
|
2022-06-06 00:39:35 -07:00 |
|
chrislu
|
a2b101a737
|
subscribe metadata between a range
|
2022-05-30 15:04:19 -07:00 |
|
chrislu
|
ca16fbf0ef
|
shell: cluster.ps display filer group
|
2022-05-29 16:37:14 -07:00 |
|
chrislu
|
94635e9b5c
|
filer: add filer group
|
2022-05-01 21:59:16 -07:00 |
|
Konstantin Lebedev
|
1e35b4929f
|
shell vacuum volume by collection and volume id
|
2022-04-18 18:40:58 +05:00 |
|
chrislu
|
b4be56bb3b
|
add timing info during ping operation
|
2022-04-16 12:45:49 -07:00 |
|
Konstantin Lebedev
|
357aa818fe
|
add raft shell cmds
|
2022-04-06 15:23:53 +05:00 |
|
chrislu
|
743ad690b6
|
filer supports grpc ping
|
2022-04-01 16:44:58 -07:00 |
|
chrislu
|
4042fdf3bb
|
rename to skipCheckParentDir
related to https://github.com/chrislusf/seaweedfs/pull/2761
It's better to default to false.
|
2022-03-16 23:55:31 -07:00 |
|
chrislu
|
202a29d014
|
refactoring
|
2022-02-25 01:17:26 -08:00 |
|
chrislu
|
91d6785cf3
|
define metadata action types
|
2022-02-25 00:54:16 -08:00 |
|
chrislu
|
be3fc77391
|
mount2: use consistent inode
|
2022-02-25 00:53:27 -08:00 |
|
chrislu
|
ceaf993a27
|
mount2: add rdev
|
2022-02-24 14:51:25 -08:00 |
|
chrislu
|
b1063162b6
|
display bucket quota
|
2022-01-21 00:55:04 -08:00 |
|
chrislu
|
fec8428fd8
|
POSIX: different inode for same named different file types
|
2022-01-12 11:51:13 -08:00 |
|
chrislu
|
5c87fcc6d2
|
add client id for all metadata listening clients
|
2021-12-30 00:23:57 -08:00 |
|
chrislu
|
9f9ef1340c
|
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
|
2021-12-26 00:15:03 -08:00 |
|
banjiaojuhao
|
083bf3a137
|
filer server: add "datacenter, rack and datanode" for path specific configuration
|
2021-12-23 23:25:05 +08:00 |
|
banjiaojuhao
|
08336be92e
|
filer server: allow upload file to specific dataNode
|
2021-12-22 21:57:26 +08:00 |
|
chrislu
|
b70cb3e0b2
|
upgrade protoc to 3.17.3
$brew install protobuf
$ protoc --version
libprotoc 3.17.3
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
|
2021-12-05 00:42:25 -08:00 |
|
Chris Lu
|
5ea86ef1da
|
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa .
|
2021-11-05 17:52:15 -07:00 |
|
Chris Lu
|
af71ae11aa
|
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
|
2021-11-03 01:09:48 -07:00 |
|
Chris Lu
|
24858507cc
|
rename API to avoid confusion
|
2021-10-30 19:27:25 -07:00 |
|
Chris Lu
|
cca62fdb30
|
mount: streaming renaming folders
|
2021-10-17 04:22:42 -07:00 |
|
Chris Lu
|
0a856241fe
|
avoid int bigger than math.MaxInt32
fix https://github.com/chrislusf/seaweedfs/issues/2363
|
2021-10-07 21:12:57 -07:00 |
|
Chris Lu
|
e5fc35ed0c
|
change server address from string to a type
|
2021-09-12 22:47:52 -07:00 |
|
Chris Lu
|
0cda61d539
|
return error if not found
|
2021-09-05 23:43:44 -07:00 |
|
Chris Lu
|
43fd11278e
|
support follow additional path prefixes
|
2021-08-31 23:23:08 -07:00 |
|