aboutsummaryrefslogtreecommitdiff
path: root/go/operation
AgeCommit message (Collapse)AuthorFilesLines
2016-06-02directory structure change to work with glideChris Lu14-1277/+0
glide has its own requirements. My previous workaround caused me some code checkin errors. Need to fix this.
2016-04-10Revert "Merge pull request #284 from thinxer/binary"chrislusf1-4/+3
This reverts commit 3523ad523929870aa8d4a7741ee8e152cfd40489, reversing changes made to 5d100994b1b9c6679113c8dd73f97aff85397f02.
2016-04-09replace util/bytes.go with binary.BigEndianJianfei Wang1-3/+4
2016-04-08Revert "Merge pull request #281 from thinxer/binary"chrislusf1-4/+3
This reverts commit a87fe8ffcec7a5210bf97301e2951eea51a0a0ec, reversing changes made to 6876bfa68524d4fc0a961f89dc29e53fbc654ea5.
2016-04-06replace util/bytes.go with binary.BigEndianJianfei Wang1-3/+4
2015-12-14format changeschrislusf3-6/+10
2015-12-15`weed download` command use stream download the large file.tnextday1-4/+0
2015-12-14updatetnextday1-1/+1
2015-12-14Rename ChunkManifest.GetData to ChunkManifest.Marshaltnextday2-2/+2
2015-12-03updatetnextday1-3/+3
2015-12-03more check in `http_util.Delete`tnextday2-15/+15
add status code in `DeleteResult` struct operation.DeleteFiles maybe unsafe, so `ChunkManifest.DeleteChunks` manually delete each chunks
2015-12-02Delete all chunks when delete a ChunkManifesttnextday2-5/+70
LoadChunkManifest can uncompress buffer move compress.go from storage to operation because of import cycle MakeFile add cross complete command
2015-12-02updatetnextday1-1/+1
2015-12-02`FilePart.Upload` use base name instead of full pathtnextday2-7/+8
fix chunked file download error
2015-12-02complete submit chunked filetnextday2-12/+38
2015-12-01update ChunkedFile to seekable reader, so we can use io.* to read datatnextday1-55/+148
2015-11-30fix build errortnextday1-8/+9
2015-11-29add chunk file helper to support large filetnextday1-0/+126
2015-05-26Fix a possible index out of range error. Remove unnecessary caching.chrislusf1-7/+17
2015-05-26Add "weed backup" command.chrislusf1-0/+54
This is a pre-cursor for asynchronous replication.
2015-04-16Change all chrislusf/weed-fs links to point to chrislu/seaweedfsStuart P. Bentley6-11/+11
2015-04-16Use public url for returned file url resultchrislusf1-1/+1
2015-04-06change count to uint64 to fix #109chrislusf2-4/+4
fix https://github.com/chrislusf/weed-fs/issues/109
2015-03-19Add better error message.chrislusf1-1/+1
2015-03-10follow golint suggestionschrislusf1-1/+1
2015-03-09Add read only public port on volume serverchrislusf2-2/+3
Add read only public port on volume server
2015-02-07merge conflictsChris Lu4-15/+33
2015-02-02Using Url instead of PublicUrl for volume serverchrislusf3-6/+6
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.
2015-01-30use proto "github.com/golang/protobuf/proto"yanyiwu1-1/+1
2015-01-18Add optional admin port to volume server, to seperate admin operations from ↵Chris Lu1-1/+9
normal file operations.
2015-01-11Add caching volume locations to batch volume id lookup.Chris Lu1-4/+29
2015-01-08add some String() to make codes easier to read and debugyanyiwu1-1/+5
2014-12-26use github.com/golang/protobuf/proto instead of ↵yanyiwu2-2/+2
code.google.com/p/goprotobuf/proto
2014-10-26formatting code by: goimports -w=true .Chris Lu8-10/+15
2014-09-25use github.com/chrislusf instead of github.com/aszxqwwyy6-8/+8
2014-09-25use github.com/aszxqw instead of code.google.com/pwyy6-8/+8
2014-09-20add TTL supportChris Lu3-9/+19
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
2014-06-02only set lookup cache when successfulChris Lu1-2/+3
2014-05-25Add volume id lookup cachingChris Lu3-1/+84
2014-04-21Change to protocol buffer for volume-join-masster messageChris Lu2-0/+247
Reduced size to about 1/5 of the previous json format message
2014-04-16added typed join resultChris Lu1-0/+8
2014-04-15Add types to uploadingChris Lu2-10/+10
2014-04-15Use type ClusterStatusResult for writing and reading resultsChris Lu1-3/+3
2014-04-15minor textual changeChris Lu1-2/+2
2014-04-15Use type AssignResult when writing and reading result.Chris Lu1-5/+5
2014-04-15Added batch file deleting.Chris Lu2-3/+92
2014-04-14rename variable nameChris Lu1-2/+2
2014-04-14rename file from lookup_volume_id.go to lookup.goChris Lu1-0/+0
2014-04-13refactor lookup result types into package "operation"Chris Lu1-4/+22
2014-03-30more robust filerChris Lu1-0/+1