chrislu
f3bcbeb60a
a little optimization
3 years ago
chrislu
f7ee60996c
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
3 years ago
chrislu
6f3ec989a7
fix manifest batch size
3 years ago
Chris Lu
1e7fcef581
Merge pull request #2729 from banjiaojuhao/filer_metadata-resolve-manifest
filer: support get metadata with resolved manifest chunk
3 years ago
chrislu
bb0b784544
minor
3 years ago
Chris Lu
b97a2cc08a
Merge pull request #2731 from banjiaojuhao/filer_add-back-isAppend
filer: add back isAppend function
3 years ago
banjiaojuhao
bfcc9ca808
filer: support metadata with resolved manifest chunk
3 years ago
banjiaojuhao
71f3046841
filer: add back isAppend function
3 years ago
chrislu
0ba4e4cd23
2.93
3 years ago
chrislu
46a28b8819
mount: adjust disk space based on quota
3 years ago
chrislu
ede6ce44c6
fix test
3 years ago
chrislu
21ef152423
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
3 years ago
chrislu
f3442e36e6
mount: quota adjust error type to be syscall.ENOSPC
3 years ago
Chris Lu
89cd0c27a8
Merge pull request #2728 from kmlebedev/set_default_leveldb2
3 years ago
Chris Lu
318d8affa8
Merge pull request #2727 from banjiaojuhao/filer_bug-fix_reset-byteBuffer
3 years ago
Konstantin Lebedev
cf444ebd07
Set default leveldb2 enabled
avoid Filer store is enabled for both leveldb2 and mysql
3 years ago
banjiaojuhao
a07c93f4dd
filer: reset bytesBuffer before use
3 years ago
chrislu
c7e8ac18f0
mount: quota for one mounted collection
related to https://github.com/seaweedfs/seaweedfs-csi-driver/issues/48
3 years ago
chrislu
b7c992f410
add flag to enforce quota
3 years ago
chrislu
f1713c96ae
avoid possible runtime error: index out of range [0] with length 0
3 years ago
chrislu
da76af187f
mount: avoid possible index out of bounds error
3 years ago
chrislu
6e49e75a5b
use logical number of files and sizes for statistics and quota
3 years ago
chrislu
f51e20028a
mount: avoid comma in mount options
fix https://github.com/chrislusf/seaweedfs/issues/2719
3 years ago
chrislu
dc0f48682c
unused
3 years ago
chrislu
28b8974a3a
mount: fix directory pagination when using midnight commander
3 years ago
chrislu
a96d4254e9
filer, s3, volume server: a bit memory optimization
3 years ago
chrislu
6fbbc78574
stream reading a whole chunk
3 years ago
chrislu
784583afc6
avoid pool memory allocation if too large
3 years ago
chrislu
ba14307319
2.92
3 years ago
chrislu
fcf3714443
mount: add back support for filer.path
3 years ago
Chris Lu
ca0cd81a75
Merge pull request #2716 from dave-b-code/patch-1
Fix S3 liveness and readiness probe endpoint
3 years ago
chrislu
80c017907b
filer.backup: fix backing up encrypted chunks
I have done filer.backup test:
replication.toml:
[sink.local]
enabled = true
directory = "/srv/test"
___
system@dat1:/srv/test$ weed filer.backup -filer=app1:8888 -filerProxy
I0228 12:39:28 19571 filer_replication.go:129] Configure sink to local
I0228 12:39:28 19571 filer_backup.go:98] resuming from 2022-02-28 12:04:20.210984693 +0100 CET
I0228 12:39:29 19571 filer_backup.go:113] backup app1:8888 progressed to 2022-02-28 12:04:20.211726749 +0100 CET 0.33/sec
system@dat1:/srv/test$ ls -l
total 16
drwxr-xr-x 2 system system 4096 Feb 28 12:39 a
-rw-r--r-- 1 system system 48 Feb 28 12:39 fu.txt
-rw-r--r-- 1 system system 32 Feb 28 12:39 _index.html
-rw-r--r-- 1 system system 68 Feb 28 12:39 index.php
system@dat1:/srv/test$ cat fu.txt
? ?=?^??`?f^};?{4?Z%?X0=??rV????|"?1??踪~??
system@dat1:/srv/test$
On the active mount on the target server it's:
system@app1:/srv/app$ ls -l
total 2
drwxrwxr-x 1 system system 0 Feb 28 12:04 a
-rw-r--r-- 1 system system 20 Feb 28 12:04 fu.txt
-rw-r--r-- 1 system system 4 Feb 28 12:04 _index.html
-rw-r--r-- 1 system system 40 Feb 28 12:04 index.php
system@app1:/srv/app$ cat fu.txt
This is static boy!
Filer was started with: weed filer master="app1:9333,app2:9333,app3:9333" -encryptVolumeData
It seems like it's still encrypted?
3 years ago
chrislu
aad62ee148
mount: mark directory uncached if forgotten
3 years ago
chrislu
554e239097
release file handle
3 years ago
chrislu
3639fedd01
mount: fix fsync opened and renamed files
3 years ago
chrislu
63a9d8f01d
ensure inodes are not duplicating unless hardlinked
3 years ago
chrislu
de77d00c81
correctly clean up for a file
3 years ago
chrislu
18543c6e8b
minor
3 years ago
dave-b-code
6a698713fa
Fix liveness and readiness probe endpoint
Uses endpoint from #2245
3 years ago
chrislu
09cd00f356
2.91
3 years ago
chrislu
941ced60a4
download 2 chunks if at the beginning of a file
3 years ago
chrislu
f9d9eed0c9
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
3 years ago
chrislu
d602d68fd1
remove dead code
3 years ago
chrislu
706a86077d
remove dead code
3 years ago
Chris Lu
6c07af6014
Merge pull request #2715 from gfx-labs/acl-pr
3 years ago
chrislu
c3792c8352
remove dead code
3 years ago
chrislu
aa9eef81e6
retire mount v1
3 years ago
eddy-gfx
fb940dd807
Merge branch 'chrislusf:master' into acl-pr
3 years ago
elee
881a0fe806
ensure compatibility
3 years ago
elee
954ad98e0d
set canned acl on replication create
3 years ago