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
Chris Lu
5b5d6341e5
Set http status after modifying response headers.
10 years ago
yanyiwu
5b7628cf08
use github.com/golang/protobuf/proto instead of code.google.com/p/goprotobuf/proto
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
Chris Lu
f527fc1d5e
adjust visibility
10 years ago
Chris Lu
30bcda7136
fix typo
10 years ago
bmcquee
02ae8b98a5
Revert "change wriable to writeable"
This reverts commit 626b896448
.
10 years ago
bmcquee
626b896448
change wriable to writeable
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
b9aee2defb
add TTL support
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h
file TTL is used when uploading
10 years ago
Chris Lu
77fd5ecd98
Add /admin/mv to move a file or a folder
11 years ago
Chris Lu
1818a2a2da
Change to protocol buffer for volume-join-masster message
Reduced size to about 1/5 of the previous json format message
11 years ago
Chris Lu
51939efeac
1. volume server now sends master server its max file key, so that
master server does not need to store the sequence on disk any more
2. fix raft server's failure to init cluster during bootstrapping
11 years ago
Chris Lu
9653a54766
added typed join result
11 years ago
Chris Lu
85894160c6
refactor: split master handler into 2 files
11 years ago
Chris Lu
5878f7c3a1
refactor lookup result types into package "operation"
11 years ago
Chris Lu
f20ef922fd
1. add batched volume lookup handler
2. working-in-progress batch delete
11 years ago
Chris Lu
f7f582ec86
1. refactoring, merge "replication" logic into "topology" package
2. when growing volumes, additional preferred "rack" and "dataNode"
paraemters are also provided. Previously only "dataCenter" paraemter is
provided.
11 years ago