Chris Lu
7a13816e94
refactor
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
1154e23e2d
add logs for volume creation
3 years ago
Chris Lu
b624090398
go fmt
4 years ago
qieqieplus
c4d32f6937
ahead of time volume assignment
4 years ago
Chris Lu
73958e357d
add descriptive error if no free volumes
4 years ago
Chris Lu
cd866664a8
skip JWT if fileId is empty
related to https://github.com/chrislusf/seaweedfs/issues/1808
4 years ago
Chris Lu
a9db24cd05
master allocate volumes if ssd type runs out
4 years ago
Chris Lu
3a5e4769cf
prevent empty locations returned
fix https://github.com/chrislusf/seaweedfs/issues/1313
5 years ago
zhangsong
61fa485700
add volume number param in assign operation
5 years ago
Lei Liu
f2f90436ef
fix leader master /dir/lookup api
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
Lei Liu
3cc084269c
master api: return http 404 when volumeId not exist
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
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
8afd8d35b3
master: followers can also lookup and redirect
improve scalability
5 years ago
Chris Lu
50aa769554
jwt for read access control
6 years ago
Chris Lu
25941e0500
master: add jwt expires_after_seconds
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
215cd27b37
add authorizing fileId write access
need to secure upload/update/delete for benchmark/filer/mount
need to add secure 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
f5bed84340
add volume id to error message
8 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
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
chrislusf
3ece066700
change count to uint64 to fix #109
fix https://github.com/chrislusf/weed-fs/issues/109
10 years ago
chrislusf
b07d81fb08
follow golint suggestions
10 years ago
Chris Lu
5b5d6341e5
Set http status after modifying response headers.
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
bd664def45
Revert "fix func name HasWriableVolume"
This reverts commit bff7b71389
.
10 years ago
bmcquee
bff7b71389
fix func name HasWriableVolume
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
7ad6cd35e8
Use type ClusterStatusResult for writing and reading results
11 years ago
Chris Lu
68021c6fc3
Use type AssignResult when writing and reading result.
11 years ago
Chris Lu
cbc5a76e80
Added batch file deleting.
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