chrislu
8f0410af2c
2.95
3 years ago
chrislu
ae558fa073
log reasons volumes became unwritable
3 years ago
chrislu
57c6eddd22
avoid possible deadlock if volume layout is used in some logs
3 years ago
chrislu
581c93d970
change to config_dir, to be consistent with "weed scaffold -config"
fix https://github.com/chrislusf/seaweedfs/issues/2753
3 years ago
chrislu
3da2b83b38
Added a "-conf_dir" option to customize *.toml configuration file directory.
fix https://github.com/chrislusf/seaweedfs/issues/2753
3 years ago
zzq09494
9f16df736e
fix-filer: calculation error of the method skipCheckParentDirEntry
3 years ago
chrislu
f247cab5cd
skip localhost if bound to all interfaces already 0.0.0.0 or 127.0.0.1
3 years ago
Berck Nash
7ee38fa3a4
The fixes for https://github.com/chrislusf/seaweedfs/issues/1937 had a few problems:
(1) The help file says that in the absence of a ipBind being specified, that it will bind to the "ip" specified. Instead, it bound to localhost which broke the default configuration. This change implements the documented behavior instead.
(2) The new IAM filer ip address has no default. This instantiates it to the same as the filer IP. I'm not sure if there should be a corresponding iam.ip or iam.ipBind option added to the filer command?
3 years ago
chrislu
6886167d5f
minor optimization
3 years ago
chrislu
7542fd7f4d
mount: optimize a bit when writing files
3 years ago
chrislu
4042fdf3bb
rename to skipCheckParentDir
related to https://github.com/chrislusf/seaweedfs/pull/2761
It's better to default to false.
3 years ago
zzq09494
40b0033fa7
go fmt
3 years ago
zzq09494
ee5417a5b3
fix: ut test error
3 years ago
zzq09494
81cce4b4c3
filer: support uploading file without needEnsureParentDir
3 years ago
zzq09494
a6a8892255
Revert "filer: support uploading file without needEnsureParentDir"
This reverts commit a93c4947ba
.
3 years ago
zzq09494
a93c4947ba
filer: support uploading file without needEnsureParentDir
3 years ago
Berck Nash
9b14f0c81a
Add mTLS support for both master and volume http server.
3 years ago
chrislu
3639cad69c
master, filer, s3: also listen to "localhost" in addition to specific ip address
related to https://github.com/chrislusf/seaweedfs/issues/1937
3 years ago
Konstantin Lebedev
c2e7d663bc
reduced the timeout for creating a connection from 30 to 10 seconds
3 years ago
chrislu
fbc9f0eb64
minor
3 years ago
chrislu
2eda3a686f
2.94
3 years ago
chrislu
bd5c5586b5
generate inode via path and time
3 years ago
chrislu
5cba8e51c5
refactor
3 years ago
chrislu
f2f68f675e
write to disk during random writes, limiting total disk spaces used
3 years ago
chrislu
2f4cd20f90
tests skip reader pattern monitoring
3 years ago
chrislu
53513475bf
mount: add back random read support
avoid too much memory used also
3 years ago
chrislu
f70c1e449b
add useful doc link
3 years ago
chrislu
b20ddc57a7
mount: return open status
3 years ago
chrislu
b40d252761
mount: chmod for root
3 years ago
chrislu
3a6eb8ca5f
default bind to one ip address
fix https://github.com/chrislusf/seaweedfs/issues/1937
3 years ago
Konstantin Lebedev
f53cff045f
checks disk file exist
3 years ago
chrislu
011a41b561
add back writes to swap file when too many in memory chunks are used.
3 years ago
zzq09494
2ea18fca48
fix:support some databases which not support 'IF NOT EXISTS' keyword of 'create table command'
3 years ago
banjiaojuhao
f28dbbe5c5
[bugfix] filer: 1. Delete uploaded chunks when upload failed. 2. Report error when upload is interrupted by user.
3 years ago
chrislu
dc204dd137
fix nil entry
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1d340b4]
goroutine 130523 [running]:
github.com/chrislusf/seaweedfs/weed/filer.FileSize(...)
/code/seaweedfs/weed/filer/filechunks.go:26
github.com/chrislusf/seaweedfs/weed/mount.(*WFS).Lookup(0xc000866d80, 0x1, 0xc002897f40, {0xc004b00980, 0x39}, 0x1ec19e0)
/code/seaweedfs/weed/mount/weedfs_dir_lookup.go:59 +0x654
github.com/hanwen/go-fuse/v2/fuse.doLookup(0xc00033c000, 0xc00033c000)
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/opcode.go:333 +0x6b
github.com/hanwen/go-fuse/v2/fuse.(*Server).handleRequest(0xc000ab2420, 0xc00033c000)
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:483 +0x1f3
github.com/hanwen/go-fuse/v2/fuse.(*Server).loop(0xc000ab2420, 0x0)
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:456 +0x110
created by github.com/hanwen/go-fuse/v2/fuse.(*Server).readRequest
/code/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:323 +0x534
3 years ago
banjiaojuhao
f7f2a597dd
minor
3 years ago
banjiaojuhao
d61bea9038
[bugfix] filer: In file modification, old chunks will be mis-deleted when they are merged(Manifestized).
3 years ago
chrislu
3aeee3d748
ensure releasing file handle
3 years ago
chrislu
8136384473
remove debug message
3 years ago
banjiaojuhao
b9ff7723dd
[bugfix] filer: nil pointer dereference
3 years ago
chrislu
da3d330616
s3 and filer transport using unix domain socket instead of tcp
3 years ago
chrislu
0cb17b45b1
refactoring
3 years ago
chrislu
6d3db4445b
buffer for all range requests
3 years ago
chrislu
f3bcbeb60a
a little optimization
3 years ago
chrislu
6f3ec989a7
fix manifest batch size
3 years ago
chrislu
bb0b784544
minor
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