Chris Lu
59ded34b83
issue 48 weed upload does not set the modified date
11 years ago
Chris Lu
69ac6b6bf6
Issue 45 in weed-fs: [Compact issue] Offset overflow
New issue 45 by hieu.hcmus@gmail.com: [Compact issue] Offset overflow
http://code.google.com/p/weed-fs/issues/detail?id=45
You are using uint32(Maximum 4Gb) to store needle offset(Maximum 32Gb)
when compacting.
Currently It is ok if the volume size is < 4gb
Change variable "offset" in ScanVolumeFile function to uint64 to fix the
issue.
11 years ago
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
11 years ago
Chris Lu
48e4ced29d
easier for client to delete file
12 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
952974491b
refactor "content upload" out of needle creation
12 years ago
Chris Lu
54906c48f3
report errors when upload timeouts
12 years ago
Chris Lu
70fe7e6b5d
support gzip file upload, fix problem during replication of gzipped data
12 years ago
Chris Lu
ac15868694
clean up log fmt usage. Move to log for important data changes,
warnings.
12 years ago
Chris Lu
4c200acd7d
1. ensure replicated file has the same timestamp
2. upload can specify modified time by &ts=...
3. correctly return code 304
12 years ago
Chris Lu
cbd9d14cc4
Issue 27: feature request - Last-Modified header
12 years ago
Chris Lu
915b16f97a
refactoring, same logic, but the store replication logic is moved to a
stand-alone file, for later easier improvements
12 years ago
Chris Lu
bd278337db
checking file name empty
12 years ago
Chris Lu
79d11ac951
go vet
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago
Chris Lu
55f2627fcf
testing new directory structure
12 years ago
Chris Lu
ab6fb13ad7
avoid the "src" folder
12 years ago
Chris Lu
cb4e8ec16b
re-organize code directory structure
12 years ago
Chris Lu
0b7a235c17
ensure file name does not contain any "/"
12 years ago
Chris Lu
81b9175c7a
re-factoring volume file scanning code
add export function
fix bugs on deleted byte counting
12 years ago
Chris Lu
b0c7df0c3b
go fmt for all source codes
12 years ago
Chris Lu
a502b78c3f
Revert "add error return for (Un)GzipData"
This reverts commit 8243710351
.
12 years ago
Tamás Gulácsi
8243710351
add error return for (Un)GzipData
12 years ago
Chris Lu
46b8c4cc98
use bits in needle.Flags to mark hasName and hasMime
12 years ago
Chris Lu
9b95430e9f
add store metadata:file name, mime type, is_gzipped
add support to upload .gz file directly
12 years ago
Chris Lu
1943647860
can read/write files in format version 2
12 years ago
Chris Lu
11cc489ca5
refactoring
12 years ago
Chris Lu
ebe7af1833
refactor a bit
12 years ago
Chris Lu
5e020196f6
add version type
12 years ago
Chris Lu
084e0ab7bb
adding exception handling for this case
12 years ago
Chris Lu
86c8f248bd
support compacting a volume
12 years ago
Chris Lu
9630825576
adjusting gzip logic
12 years ago
Chris Lu
5d86b50782
fixes
12 years ago
Chris Lu
ac5f227aae
correct crc
correct volume id lookup
12 years ago
Chris Lu
77c0de914a
now any data node can accept storing files
files are automatically copied to replicas
12 years ago
Chris Lu
09ed882e5f
clean log
13 years ago
Chris Lu
8f9e84bca0
clean log
13 years ago
Chris Lu
b820609088
change name: needle id instead of needle key
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
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
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
bb01324482
compatible with Go1
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@46 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago
chris.lu@gmail.com
ae3a53388f
refactoring code
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@24 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago
chris.lu@gmail.com
6813f118d4
get and delete now checks cookie
adding super block
adding tool to fix volume index
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@23 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago
chris.lu@gmail.com
cf7094f3c9
return written bytes, add debug mode
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@22 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago
chris.lu@gmail.com
ea75165e85
works now!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@20 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago
chris.lu@gmail.com
9c6a9bf518
simplify the file id format
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@19 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago