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
Chris Lu
39b774a131
1. adding statistics reporting
2. refactor version to util package
11 years ago
Chris Lu
41143b3b78
toughen weedfs clustering, adding synchronizing max volume id among
peers in order to avoid the same volume id being assigned twice
1. moving raft.Server to topology
2. adding max volume id command for raft
11 years ago
Chris Lu
946aa6d1e7
error message change
11 years ago
Chris Lu
cd10c277b2
can now delete a collection! Is this a dangerous feature? Only enabling
deleting "benchmark" collections for now.
11 years ago
Chris Lu
ab9206c38e
spelling error with parameter name!
11 years ago
Chris Lu
27c74a7e66
Major:
change replication_type to ReplicaPlacement, hopefully cleaner code
works for 9 possible ReplicaPlacement
xyz
x : number of copies on other data centers
y : number of copies on other racks
z : number of copies on current rack
x y z each can be 0,1,2
Minor:
weed server "-mdir" default to "-dir" if empty
11 years ago
Chris Lu
69a7de1ad8
optimize for submission from clustered master nodes
11 years ago
Chris Lu
c38eee73ca
refactoring to separate master and volume server, so that these servers
can be embedded into other applications
11 years ago