chrislu
2824940ecf
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
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
Chris Lu
01c48da6ce
Merge pull request #2765 from bercknash/berck/fix_default_ips
The fixes for https://github.com/chrislusf/seaweedfs/issues/1937 had …
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
Chris Lu
d2acde2a61
Merge pull request #2761 from zhuqunzhou/master
filer: support uploading file without needEnsureParentDir
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
Chris Lu
2aa9d9f84a
Merge pull request #2760 from bercknash/berck/mtls
3 years ago
Berck Nash
9b14f0c81a
Add mTLS support for both master and volume http server.
3 years ago
chrislu
b5b97a4799
go 1.18
3 years ago
chrislu
ed818c90a9
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
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
Chris Lu
fa6fe327bf
Merge pull request #2756 from kmlebedev/upload_conn_timeout
reduced the timeout for creating a connection from 30 to 10 seconds
3 years ago
Konstantin Lebedev
f43c6daeda
Need to exit waiting if request is was canceled
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
Chris Lu
728bf50a73
Merge pull request #2747 from kmlebedev/issues_2658
3 years ago
Konstantin Lebedev
f53cff045f
checks disk file exist
3 years ago
Konstantin Lebedev
834210a9dc
avoid connect to the old filler address
https://github.com/chrislusf/seaweedfs/issues/2545
3 years ago
chrislu
197ade6aeb
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
3 years ago
chrislu
011a41b561
add back writes to swap file when too many in memory chunks are used.
3 years ago
Chris Lu
9b9ab6da86
Merge pull request #2741 from zhuqunzhou/master
fix:support some databases which not support 'IF NOT EXISTS' keyword.
3 years ago
zzq09494
2ea18fca48
fix:support some databases which not support 'IF NOT EXISTS' keyword of 'create table command'
3 years ago
Chris Lu
fc0a583a4d
Merge pull request #2740 from banjiaojuhao/filer-bugfix-handle_upload_interruption
[bugfix] filer: upload files error
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
e2b07737da
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
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
Chris Lu
23d024708d
Merge pull request #2730 from banjiaojuhao/filer-bugfix_mis-delete-chunks-when-append
[bugfix] filer: chunk mis-deletion
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
Chris Lu
d1b2231bc8
Merge pull request #2733 from banjiaojuhao/filer-bugfix-nil_pointer_dereference
3 years ago
banjiaojuhao
b9ff7723dd
[bugfix] filer: nil pointer dereference
3 years ago