Jianfei Wang
18254d9aae
replace util/bytes.go with binary.BigEndian
2016-04-09 14:38:01 +08:00
chrislusf
5d100994b1
Revert "Merge pull request #281 from thinxer/binary"
...
This reverts commit a87fe8ffce
, reversing
changes made to 6876bfa685
.
2016-04-08 15:52:03 -07:00
Jianfei Wang
7bc10d46e3
replace util/bytes.go with binary.BigEndian
2016-04-06 17:08:52 +08:00
chrislusf
e921cb1a9d
format changes
2015-12-14 22:38:58 -08:00
tnextday
de5e07ce3e
rename FlagChunkedFile to FlagChunkManifest
2015-12-01 20:53:44 +08:00
tnextday
6b0894d806
update ChunkedFile to seekable reader, so we can use io.* to read data
2015-12-01 20:23:50 +08:00
tnextday
1817864a45
add chunk file helper to support large file
2015-11-29 23:49:41 +08:00
chrislusf
a4d3f2da3d
Avoid nil case when fixing data
2015-07-08 23:21:56 -07:00
chrislusf
86cd40fba8
Add "weed backup" command.
...
This is a pre-cursor for asynchronous replication.
2015-05-26 00:58:41 -07:00
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
2015-04-16 19:18:06 +00:00
chrislusf
b07d81fb08
follow golint suggestions
2015-03-10 00:20:34 -07:00
chrislusf
853701cb6b
Avoid wrong way to delete on replication failure
...
Avoid wrong way to delete on replication failure. This deletion has bug
to write. The better fix is not to use the deletion on failure at all.
2015-03-09 01:10:04 -07:00
Chris Lu
41bd5179f3
Resolve Conflicts
2015-01-14 09:56:13 -08:00
Chris Lu
af416189f1
Cleanup error printing.
2015-01-13 17:04:41 -08:00
Lei Xue
029e3a3822
fix some typos
2015-01-13 18:46:56 +08:00
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
2014-10-26 11:34:55 -07:00
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
2014-09-25 16:57:22 +08:00
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
2014-09-25 00:47:09 +08:00
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
2014-09-20 12:38:59 -07:00
Chris Lu
af32b52727
1. no locks for all read operations! Switching to pread for all reads.
...
2. prevent heartbeat lost when vacuuming, by removing locks on Size()
function
2014-03-18 23:48:01 -07:00
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.
2013-09-19 11:06:14 -07:00
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
...
some basic changes to parse upload url
2013-09-01 23:58:21 -07:00
Chris Lu
ed154053c8
switching to temporarily use glog library
2013-08-08 23:57:22 -07:00
Chris Lu
ac15868694
clean up log fmt usage. Move to log for important data changes,
...
warnings.
2013-07-13 19:44:24 -07:00
Chris Lu
90018be9d2
write file info only when data is not empty
2013-07-12 00:30:45 -07:00
Chris Lu
4c1bc99366
avoid writing the same file
2013-07-11 22:44:59 -07:00
Chris Lu
cbd9d14cc4
Issue 27: feature request - Last-Modified header
2013-07-08 23:38:38 -07:00
Chris Lu
db8e27be6e
add lots of error checking by GThomas
2013-02-26 22:54:22 -08:00
Chris Lu
79d11ac951
go vet
2013-02-10 09:44:44 -08:00
Chris Lu
5071f528f6
testing compilation with remove package
2013-02-10 03:49:51 -08:00