banjiaojuhao
fc3b75f2f8
weed/operation/delete_content.go: nil pointer dereference
3 years ago
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.
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
4d0cbd2700
skip cookie checking if from grpc api
4 years ago
Chris Lu
6daa932f5c
refactoring to get master function, instead of passing master values directly
this will enable retrying later
4 years ago
Chris Lu
00707ec00f
mount: outsideContainerClusterMode proxy through filer
Running mount outside of the cluster would not need to expose all the volume servers to outside of the cluster. The chunk read and write will go through the filer.
4 years ago
Chris Lu
6d87a0c5f5
batch delete orphan data by file keys
5 years ago
Chris Lu
d848d08944
use public url also for deletions
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
5 years ago
Chris Lu
8dd260623e
protect against nil deletion results
fix https://github.com/chrislusf/seaweedfs/issues/1180
5 years ago
Chris Lu
d0b423bbc0
filer: increase directory listing pagination size
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
327336ecf3
filer: avoid concurrent modification to result slice
fix https://github.com/chrislusf/seaweedfs/issues/972
6 years ago
Chris Lu
e108688990
avoid grpc 5 seconds timeout
some operations may take longer than 5 seconds.
only keep the timeout for raft operations
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
74fb237727
benchmark can work in secure mode
6 years ago
chenwanli
0a3e83a36a
Set timeout for master and volume non-streaming rpc
6 years ago
Chris Lu
6b5d6bb5a6
adjust error names
6 years ago
Chris Lu
b282e34dc2
async file chunk deletion
6 years ago
Chris Lu
4fcfc9410f
cleanup
6 years ago
Chris Lu
b1daede91b
move volume vacuum to gRpc
6 years ago
Chris Lu
91ac2e0dd9
go fmt
6 years ago
Chris Lu
ff66269b62
use grpc to replace http APIs for batch volume id lookup and batch delete
1. remove batch volume id lookup http API /vol/lookup
2. remove batch delete http API /delete
6 years ago
Chris Lu
08266b7256
go fmt
6 years ago
Chris Lu
06c43286cd
skip error when deletion failed
6 years ago
Chris Lu
cfbfc7cb67
fix compilation error
6 years ago
Chris Lu
888eb2abb5
filer read write all via locations from MasterClient
6 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
chrislusf
e921cb1a9d
format changes
9 years ago
tnextday
daac5de1ba
more check in `http_util.Delete`
add status code in `DeleteResult` struct
operation.DeleteFiles maybe unsafe, so `ChunkManifest.DeleteChunks` manually delete each chunks
9 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
Chris Lu
f7998f8652
merge conflicts
10 years ago
chrislusf
cc724305b6
Using Url instead of PublicUrl for volume server
Originally there are only url(ip + port), and publicUrl. Because ip was
used to listen for http service, it has less flexibility and volume
server has to be accessed via publicUrl.
Recently we added ip.bind, for binding http service.
With this change, url can be used to connect to volume servers. And
publicUrl becomes a free style piece of url information, it does not
even need to be unique.
10 years ago
Brian McQueen
d56c748fa8
switch it back to chris's repo
10 years ago
Brian McQueen
c0dfdf4392
switch to my forked repo
10 years ago
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
10 years ago
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
10 years ago
Chris Lu
cb56322937
minor textual change
11 years ago
Chris Lu
cbc5a76e80
Added batch file deleting.
11 years ago
Chris Lu
b771f060f1
rename variable name
11 years ago
Chris Lu
7251e357e7
enhance deletion operation
11 years ago
Chris Lu
3dbebfd1e1
Thread-safe fixes:
1. avoid sharing []byte
2. switch to use ReadAt()
11 years ago
Chris Lu
d0473e27d9
refactor api: lookup file id
11 years ago
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
11 years ago
Chris Lu
48e4ced29d
easier for client to delete file
12 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago