Chris Lu
|
1a2ff0514c
|
Merge branch 'master' of https://code.google.com/p/weed-fs/
Conflicts:
weed-fs/src/pkg/topology/node.go
weed-fs/src/pkg/topology/server.go
weed-fs/src/pkg/topology/topo_test.go
weed-fs/src/pkg/topology/topology.go
|
12 years ago |
Chris Lu
|
b95c9860ed
|
interface and default implementation for node
|
12 years ago |
Chris Lu
|
6a84f50d24
|
interface and default implementation for node
|
12 years ago |
Chris Lu
|
a467d5081c
|
adjusted tests
|
12 years ago |
Chris Lu
|
c51884ce23
|
remove extra code
|
12 years ago |
Chris Lu
|
1760dd083d
|
remove reservedVolumeCount to simplify volume allocation logic
|
12 years ago |
Chris Lu
|
c48bda0232
|
return the node during assigning free volume
|
12 years ago |
Chris Lu
|
7a30a48027
|
assign a free volume randomly
|
12 years ago |
Chris Lu
|
8d0ea07f5f
|
loading from json setup in tests
|
12 years ago |
Chris Lu
|
f5d981ab4d
|
scaffold for tests
|
12 years ago |
Chris Lu
|
317e12644a
|
reserve a volume
add VolumeId.Next()
|
12 years ago |
Chris Lu
|
f7adf1687f
|
reduce duplicated code by using a tree of Node
|
12 years ago |
Chris Lu
|
97e4a1d6eb
|
add code to randomly select one new volume to grow
|
13 years ago |
Chris Lu
|
2dceb44ae4
|
add more for volume placement
fix possible nil volume cases
|
13 years ago |
Chris Lu
|
c72f10511a
|
Merge branch 'master' of https://code.google.com/p/weed-fs/
|
13 years ago |
Chris Lu
|
58087bc64f
|
ignore files
|
13 years ago |
Chris Lu
|
09ed882e5f
|
clean log
|
13 years ago |
Chris Lu
|
8f9e84bca0
|
clean log
|
13 years ago |
Chris Lu
|
869a6711bc
|
change data center id from integer to string
|
13 years ago |
Chris Lu
|
9b4ce65882
|
simplify volume.go file
|
13 years ago |
Chris Lu
|
0c32e2e965
|
simplify volume id printing
|
13 years ago |
Chris Lu
|
868e47f994
|
remove unused test
|
13 years ago |
Chris Lu
|
b820609088
|
change name: needle id instead of needle key
|
13 years ago |
Chris Lu
|
9f92f2779d
|
adjusting for types
|
13 years ago |
Chris Lu
|
5e3ecc1b82
|
adding VolumeId type
|
13 years ago |
Chris Lu
|
03f4c0b832
|
adding topology related types
|
13 years ago |
Chris Lu
|
31e4dbfe38
|
change volume id type to topology.VolumeId
|
13 years ago |
Chris Lu
|
0121f35c12
|
starting a shell
|
13 years ago |
Chris Lu
|
0109cc0e30
|
correct wording
|
13 years ago |
Chris Lu
|
5caa7bbdc9
|
refactoring only
|
13 years ago |
chris.lu@gmail.com
|
10c2a4540e
|
v0.16
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@67 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
aab5390cb5
|
all switching to "weed command [args]" usage mode
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@66 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
85da309eed
|
all switching to "weed command [args]" usage mode
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@65 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
5e9dc0e668
|
all switching to "weed command [args]" usage mode
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@64 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
3f1136c194
|
migrate fix command
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@63 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
51860424a6
|
moving to go style commands
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@62 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
c627942691
|
adding uncompressing support!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@61 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
50c3f1d4a7
|
adding compressiong support!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@60 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
f3a4125ee7
|
adding compressiong support!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@59 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
2e1ffa189b
|
The extension ext should begin with a leading dot, as in ".html"
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@58 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
2af8c354a7
|
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@57 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
577bbcb2e3
|
convenient tool to submit serveral versions of the same file
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@56 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
008b3fbbc9
|
remove debug message
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@55 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
d46e588200
|
simplify delta of file id, for multi-versioning of a file
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@54 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
eb9456d7d5
|
handle special case when browser also asks for favicon.ico
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@53 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
bcffffbc5e
|
add capability to assign a batch of file ids
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@51 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
68a216586f
|
add capability to assign a batch of file ids
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@50 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
74989d69c9
|
add error handling when non-multipart request comes in
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@49 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
de6e1442d7
|
also return publicUrl when assigning the fid
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@48 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |
chris.lu@gmail.com
|
8aba24a3f8
|
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@47 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
13 years ago |