53eacb4341
fix issue 52
Chris Lu
2013-10-31 12:57:06 -07:00
cca1df83da
debug message
Chris Lu
2013-10-31 12:56:05 -07:00
3185eebf2e
add test case for issue 52
Chris Lu
2013-10-31 12:55:51 -07:00
3422272a50
fix test
Chris Lu
2013-10-31 12:55:34 -07:00
9e9b2c0703
log changes
Chris Lu
2013-10-31 12:55:19 -07:00
54723c3713
Issue 51: Assign on empty cluster sometime fails under high concurrency load
Chris Lu
2013-10-29 12:48:31 -07:00
2637c9eac2
Merge remote-tracking branch 'origin/master'
Chris Lu
2013-10-17 00:28:59 -07:00
c43dcfa3e2
prepare for v0.43 release
Chris Lu
2013-10-16 08:39:36 -07:00
59ded34b83
issue 48 weed upload does not set the modified date
Chris Lu
2013-10-16 08:39:09 -07:00
030905714b
issue 49: unwritable volume become writable after compacting
Chris Lu
2013-10-16 08:10:48 -07:00
55380a014d
issue 49: unwritable volume become writable after compacting
Chris Lu
2013-10-16 08:10:48 -07:00
3f5f8657d2
add a command to force compaction of a volume, removing deleted files
Chris Lu
2013-09-28 22:18:52 -07:00
738e528329
v0.42
Chris Lu
2013-09-19 11:38:52 -07:00
69ac6b6bf6
Issue 45 in weed-fs: [Compact issue] Offset overflow
Chris Lu
2013-09-19 11:06:14 -07:00
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
Chris Lu
2013-09-01 23:58:21 -07:00
2e70cc8be7
default to use os.TempDir() instead of hard coded "/tmp"
Chris Lu
2013-08-28 10:39:15 -07:00
37b231b5dc
Only limit input parameter to io.Reader
Chris Lu
2013-08-14 11:31:39 -07:00
8e1ac16d16
refactoring submit operation
Chris Lu
2013-08-14 10:07:42 -07:00
48e4ced29d
easier for client to delete file
Chris Lu
2013-08-14 00:31:02 -07:00
d5e7c1de0a
refactoring code reusable code by go clients
Chris Lu
2013-08-13 23:26:51 -07:00
f7c1a15ad1
correctly print strings in error
Chris Lu
2013-08-13 18:21:54 -07:00
e45c6b5e21
add white list to both master and volume servers prepare for v0.41
Chris Lu
2013-08-13 09:31:19 -07:00
3572e1140e
adjusting parameter names
Chris Lu
2013-08-13 09:22:06 -07:00
078118ecba
v0.40
Chris Lu
2013-08-12 23:48:10 -07:00
11b4e0c77d
fix syntax error
Chris Lu
2013-08-12 21:43:13 -07:00
e0951dd44f
added write whiteList, to make it a bit easier to secure volume servers on hosting environments.
Chris Lu
2013-08-12 21:27:47 -07:00
44c4e74655
correct and more cleaner logic to fall back to read only mode checking file permissions directly since the try and catch exception approach does not work consistently as seen in bug #41
Chris Lu
2013-08-12 16:53:32 -07:00
a74978baeb
ensure unwritable volumes are not in writables list
Chris Lu
2013-08-12 16:39:49 -07:00
82f6a6838f
wording change
Chris Lu
2013-08-11 13:15:11 -07:00
0deda9b638
prepare to release 0.38
Chris Lu
2013-08-11 11:50:18 -07:00
7cef280bdc
handle cases when .idx files are also readonly adjusting log level
Chris Lu
2013-08-11 11:38:55 -07:00
27f04a382a
avoid changing max size
Chris Lu
2013-08-09 00:17:07 -07:00
ed154053c8
switching to temporarily use glog library
Chris Lu
2013-08-08 23:57:22 -07:00
b27947b355
copying from glog project. Need to adjust several APIs
Chris Lu
2013-08-08 23:24:44 -07:00
c2a6012ba5
avoid verbose log message when some volumes are full
Chris Lu
2013-08-08 15:04:00 -07:00
f457eef144
add /submit handler for both master and volume server
Chris Lu
2013-08-06 13:23:10 -07:00
d51c8d37bd
Issue 6: upload file without id specified
Chris Lu
2013-08-06 12:13:10 -07:00
952974491b
refactor "content upload" out of needle creation
Chris Lu
2013-08-06 11:23:24 -07:00
54906c48f3
report errors when upload timeouts
Chris Lu
2013-08-05 13:37:41 -07:00
e94d52c1af
replicate mime type
Chris Lu
2013-07-29 10:09:36 -07:00
fb53ec30f7
release 0.37
Chris Lu
2013-07-28 22:54:06 -07:00
8f0b527b28
a little more concise
Chris Lu
2013-07-28 22:53:25 -07:00
81debd73d4
Issue 37: Replicate delete
Chris Lu
2013-07-28 22:49:17 -07:00
63ebafa113
fix when volume growth are partial successful in automatic mode
Chris Lu
2013-07-24 10:31:51 -07:00
3ae2eabf09
add more description to upload command
Chris Lu
2013-07-20 15:14:12 -07:00
1b3f204220
release 0.36
Chris Lu
2013-07-20 14:53:20 -07:00
123b0cc2df
fix for issue #35
Chris Lu
2013-07-19 20:38:00 -07:00
ff1c04c486
fix issue 34
Chris Lu
2013-07-19 19:37:10 -07:00
dd2245956f
better locking to prevent any possible memory access error
Chris Lu
2013-07-15 21:34:43 -07:00
b409ccc5ab
upload respect master default replication setting
Chris Lu
2013-07-15 21:34:04 -07:00
5e3b6e968a
escaping upload file name special characters if already gzipped, avoid gzipping again
Chris Lu
2013-07-15 17:26:00 -07:00
dd66193bfb
remove logging
Chris Lu
2013-07-15 16:44:24 -07:00
524a44f027
bump up the versoin
Chris Lu
2013-07-15 16:27:11 -07:00
70fe7e6b5d
support gzip file upload, fix problem during replication of gzipped data
Chris Lu
2013-07-15 11:04:43 -07:00
de368ef3c3
adjust usage
Chris Lu
2013-07-13 23:19:21 -07:00
d9c25ccbb0
upload files recursively matching a pattern
Chris Lu
2013-07-13 23:17:41 -07:00
ddf4f27a56
better error message if directory is not found
Chris Lu
2013-07-13 22:01:48 -07:00
76ba0021e5
prepare for 0.34 release
Chris Lu
2013-07-13 19:46:26 -07:00
ac15868694
clean up log fmt usage. Move to log for important data changes, warnings.
Chris Lu
2013-07-13 19:44:24 -07:00
ae3245f1dc
Fix a file name parsing error
Chris Lu
2013-07-13 15:57:44 -07:00
72490bc00f
Consistent result format when error happens
Chris Lu
2013-07-13 14:35:29 -07:00
208ed2a991
Add support to upload a directory recursively.
Chris Lu
2013-07-13 14:14:16 -07:00
1165632fa0
use bytes.Equal() instead, Thanks for Thomas' suggestion
Chris Lu
2013-07-13 13:51:47 -07:00
d4105f9b46
add support for multiple folders and multiple max limit: eg -dir=folder1,folder2,folder3 -max=7,8,9
Chris Lu
2013-07-13 11:38:01 -07:00
175456870a
bump up to 0.33
Chris Lu
2013-07-12 14:35:29 -07:00
49cc81fdab
added support for /vid/keycookie/filename.txt format for HTTP GET
Chris Lu
2013-07-12 14:19:11 -07:00
4c280bc317
ensure append only for deleted files
Chris Lu
2013-07-12 00:55:21 -07:00
90018be9d2
write file info only when data is not empty
Chris Lu
2013-07-12 00:30:45 -07:00
b87ec11c1c
empty deleted file
Chris Lu
2013-07-11 23:38:44 -07:00
b0e5112702
"weed upload" return message changes
Chris Lu
2013-07-11 22:45:29 -07:00
4c1bc99366
avoid writing the same file
Chris Lu
2013-07-11 22:44:59 -07:00
db46565d18
ensure mime type checking by lower cased file name extension
Chris Lu
2013-07-11 21:16:54 -07:00
1ac71a111f
Issue 28: [HELP NEEDED] weed upload does not send correct mime type to weedfs
Chris Lu
2013-07-11 19:14:55 -07:00
3afc2d2ce6
remove unused code
Chris Lu
2013-07-10 00:27:01 -07:00
4c200acd7d
1. ensure replicated file has the same timestamp 2. upload can specify modified time by &ts=... 3. correctly return code 304
Chris Lu
2013-07-10 00:25:14 -07:00
53b6831f73
bump up version number to 0.32
Chris Lu
2013-07-09 10:50:48 -07:00
cbd9d14cc4
Issue 27: feature request - Last-Modified header
Chris Lu
2013-07-08 23:38:38 -07:00
53ae13a012
change default number of volumes to 7, so that the first volume growth would not fail.
Chris Lu
2013-07-08 01:58:28 -07:00
e30e325770
Issue 26: Could not download uploaded files
Chris Lu
2013-07-05 16:05:35 -07:00
d1fcf1fd67
add error when size limit is reached
Chris Lu
2013-07-03 22:14:16 -07:00
50269b74ce
add dataCenter option when assign file keys add dataCenter option when starting volume servers some work related to freeze a volume. Not tested yet.
Chris Lu
2013-06-19 18:10:38 -07:00
715d327df0
Tamás Gulácsi contributed cdb map for read only extremely low memory implementation.
Chris Lu
2013-05-05 11:19:41 -07:00
fb635146a1
refactoring needle mapper interface to separate index file storage logic out
Chris Lu
2013-04-18 00:23:14 -07:00
915b16f97a
refactoring, same logic, but the store replication logic is moved to a stand-alone file, for later easier improvements
Chris Lu
2013-04-16 00:10:21 -07:00
e4da140d0a
rename volume_location.go to volume_location_list.go
Chris Lu
2013-04-15 15:19:14 -07:00
3222d40871
fix compilation error
Chris Lu
2013-04-14 19:37:29 -07:00
95dc977608
accurate error messages during writing
Chris Lu
2013-04-14 19:34:37 -07:00
a4369b35a7
merge changes from about dealing with read only volumes.
Chris Lu
2013-04-14 19:30:26 -07:00
4d8ce2fe26
adding HEAD support
Chris Lu
2013-03-20 22:57:41 -07:00
437532d559
0.31 is next release
Chris Lu
2013-03-20 22:08:54 -07:00
9da3ea35ac
avoid empty data nodes
Chris Lu
2013-03-20 05:12:55 -07:00
0c75e0438e
bump to 0.30 since it fixed an important bug
Chris Lu
2013-03-20 01:39:20 -07:00
1aea3512a4
return nil instead of memory access error
Chris Lu
2013-03-20 01:23:15 -07:00
6658d5de45
fix sequence assignment error
Chris Lu
2013-03-19 13:37:36 -07:00
2d0a555270
bump up the version
Chris Lu
2013-03-19 11:28:11 -07:00
a1d5a6298c
avoid missing configuration file error
Chris Lu
2013-03-19 10:36:29 -07:00
2d4a7ac9f9
avoid error when missing configuration file
Chris Lu
2013-03-19 10:35:13 -07:00
018df9ceb0
avoid file not exist error
Chris Lu
2013-03-19 10:33:33 -07:00
a3eddde525
fix documentation error
Chris Lu
2013-03-18 21:29:25 -07:00