Chris Lu
b183ae54b5
master: changing 301 to 308 on redirect to volume servers
fix https://github.com/chrislusf/seaweedfs/issues/1454
4 years ago
Chris Lu
bc2ec6774d
inject git version into build
5 years ago
Chris Lu
0871d2cff0
volume: fix memory leak during compaction
fix https://github.com/chrislusf/seaweedfs/issues/1222
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
09ca936c78
shell: add ec.decode command
5 years ago
Lei Liu
1294999d8b
return error when garbageThreshold is not a valid float number
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
Lei Liu
1bcef02a6c
fix dir/lookup and col/delete api
1, Fix Layouts first letter capitalized
2, Return http 204 when delete a collection
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
Lei Liu
c2884cace2
misc updated
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
Chris Lu
46ed2ca902
refactoring
5 years ago
Chris Lu
c9a183eb69
refactor memory map related code
5 years ago
Chris Lu
faec9076a4
adjust parameter names
5 years ago
Chris Lu
d16c450682
fix unreachable code
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
Tom Maxwell
4a878c0006
Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
8afd8d35b3
master: followers can also lookup and redirect
improve scalability
5 years ago
Chris Lu
f16375621f
big refactoring
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
766396d249
weed master: atomic volume counting
possible fix for https://github.com/chrislusf/seaweedfs/issues/913
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
chenwanli
0a3e83a36a
Set timeout for master and volume non-streaming rpc
6 years ago
Chris Lu
b423bb9e2d
migrate assign volume to grpc API on volume server
6 years ago
Chris Lu
8301519fb0
migrate delete collection to grpc API on volume server
6 years ago
Chris Lu
b1daede91b
move volume vacuum to gRpc
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
58344980e4
preallocate disk space during compaction also, add cleanup for failed compaction
7 years ago
Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
8 years ago
Chris Lu
ed44f12f6d
support Fallocate on linux
8 years ago
Mike Tolman
ce99bb927d
Revert "Adding HTTP verb whitelisting options."
This reverts commit 34837afc7a
.
9 years ago
Mike Tolman
34837afc7a
Adding HTTP verb whitelisting options.
9 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
Chris Lu
6df18a9181
rwlock concurrent read map
9 years ago
yangrun
db1ac7b3eb
master: redirect handler accept collection parameter
9 years ago
chrislusf
62074c7653
adjust reading ip address
adjust reading ip address
9 years ago
Mohanson
3c9ef6245e
fix bug : master cann't redirect urlquery string
There is a bug that master can not redirect urlquery to slave volumn.
so i fix it, and it run good now.
9 years ago
chrislusf
9b8f8f4bb9
add logging
10 years ago
chrislusf
3b2645979d
Use request host info for master url if possible
Fix https://github.com/chrislusf/seaweedfs/issues/148
10 years ago
yanyiwu
6f96862662
FIXED: When RaftServer cannot find a leader, Return a more readable error.
Before:
curl -F "file=1234" "http://127.0.0.1:9333/submit "
{"error":"Post http:///dir/assign : http: no Host in request URL"}
After:
curl -F "file=1234" "http://127.0.0.1:9333/submit "
{"error":"Raft Server not initialized!"}
10 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
chrislusf
087b839354
Nomalize url before redirecting.
10 years ago
chrislusf
b07d81fb08
follow golint suggestions
10 years ago
chrislusf
e0d8259d98
Randomize http redirect.
Randomize http redirect.
Also remove unnecessary empty string checking.
10 years ago
yourchanges
7e0c080581
Move the redirect url perfer to volume server's PublicUrl
10 years ago
yourchanges
2e0d0046c4
Move the redirect url to volume server's PublicUrl (reverted from commit 2df72001b2
)
10 years ago
yourchanges
2df72001b2
Move the redirect url to volume server's PublicUrl
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
Chris Lu
8f72a1965f
Fix go vet warnings.
10 years ago