chrislusf
b39c384d6d
Revert "Merge pull request #284 from thinxer/binary"
This reverts commit 3523ad5239
, reversing
changes made to 5d100994b1
.
9 years ago
Jianfei Wang
18254d9aae
replace util/bytes.go with binary.BigEndian
9 years ago
chrislusf
5d100994b1
Revert "Merge pull request #281 from thinxer/binary"
This reverts commit a87fe8ffce
, reversing
changes made to 6876bfa685
.
9 years ago
Jianfei Wang
7bc10d46e3
replace util/bytes.go with binary.BigEndian
9 years ago
chrislusf
e921cb1a9d
format changes
9 years ago
tnextday
b177afc326
`weed download` command use stream download the large file.
9 years ago
tnextday
aa44028b46
update
9 years ago
tnextday
f240c57f16
Rename ChunkManifest.GetData to ChunkManifest.Marshal
9 years ago
tnextday
82e6d67ccc
update
9 years ago
tnextday
daac5de1ba
more check in `http_util.Delete`
add status code in `DeleteResult` struct
operation.DeleteFiles maybe unsafe, so `ChunkManifest.DeleteChunks` manually delete each chunks
9 years ago
tnextday
662915e691
Delete all chunks when delete a ChunkManifest
LoadChunkManifest can uncompress buffer
move compress.go from storage to operation because of import cycle
MakeFile add cross complete command
9 years ago
tnextday
520875d455
update
9 years ago
tnextday
d0e2475ece
`FilePart.Upload` use base name instead of full path
fix chunked file download error
9 years ago
tnextday
2c0a7fe75e
complete submit chunked file
9 years ago
tnextday
6b0894d806
update ChunkedFile to seekable reader, so we can use io.* to read data
9 years ago
tnextday
f825d23789
fix build error
9 years ago
tnextday
1817864a45
add chunk file helper to support large file
9 years ago
chrislusf
32ba7fc6c0
Fix a possible index out of range error. Remove unnecessary caching.
10 years ago
chrislusf
86cd40fba8
Add "weed backup" command.
This is a pre-cursor for asynchronous replication.
10 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
chrislusf
c1bc529654
Use public url for returned file url result
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
23012deccf
Add better error message.
10 years ago
chrislusf
b07d81fb08
follow golint suggestions
10 years ago
chrislusf
f511b507a5
Add read only public port on volume server
Add read only public port on volume server
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
yanyiwu
2f10f2960b
use proto "github.com/golang/protobuf/proto"
10 years ago
Chris Lu
7b4a53b2c1
Add optional admin port to volume server, to seperate admin operations from normal file operations.
10 years ago
Chris Lu
352ef2830c
Add caching volume locations to batch volume id lookup.
10 years ago
yanyiwu
cacfc85869
add some String() to make codes easier to read and debug
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
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
a437d77431
only set lookup cache when successful
11 years ago
Chris Lu
b5f99b26eb
Add volume id lookup caching
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
9653a54766
added typed join result
11 years ago
Chris Lu
4ecf5956d7
Add types to uploading
11 years ago
Chris Lu
7ad6cd35e8
Use type ClusterStatusResult for writing and reading results
11 years ago
Chris Lu
cb56322937
minor textual change
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
b771f060f1
rename variable name
11 years ago
Chris Lu
2eb9014606
rename file from lookup_volume_id.go to lookup.go
11 years ago
Chris Lu
5878f7c3a1
refactor lookup result types into package "operation"
11 years ago