Chris Lu
dcaf1796fe
add option to enable caching
2016-11-16 07:09:57 -08:00
Chris Lu
f54f530ada
adjust verbose logging
2016-11-13 14:07:51 -08:00
Chris Lu
36f9633223
add locks for location.volumes
...
fix https://github.com/chrislusf/seaweedfs/issues/392
2016-11-06 20:55:22 -08:00
Chris Lu
df49692dff
add tool to change replication or ttl
...
fix https://github.com/chrislusf/seaweedfs/issues/386
2016-11-04 20:42:31 -07:00
Chris Lu
dffad65f2f
fix compilation
2016-09-26 22:30:44 -07:00
Chris Lu
7e29218327
add a template for makeupDiff
2016-09-26 22:26:41 -07:00
Chris Lu
1bc041b46d
add a new way to manually compact corrupted volume
...
fix https://github.com/chrislusf/seaweedfs/issues/371
2016-09-22 20:31:20 -07:00
Chris Lu
01cbd5cb58
lock
...
fix https://github.com/chrislusf/seaweedfs/issues/367
2016-09-08 09:50:31 -07:00
Chris Lu
0559aa9673
use Lock instead of RLock
...
fix https://github.com/chrislusf/seaweedfs/issues/364
2016-09-07 18:21:05 -07:00
Chris Lu
c4b7966dbe
minor help message change
2016-09-07 18:21:05 -07:00
Chris Lu
185a916f5e
adjusting command options
2016-07-21 15:00:07 -07:00
Chris Lu
a5be4a6d40
fix package name
2016-07-21 01:23:56 -07:00
Chris Lu
a57162e8bf
delete operation does not need this checking
2016-07-21 00:40:13 -07:00
Chris Lu
cdae9fc680
add "weed copy" command to copy files to filer
2016-07-20 23:45:55 -07:00
Chris Lu
d3ae3a8e14
collect proof when stopping
2016-07-05 10:23:14 -07:00
Chris Lu
b38ff39e8b
add master profiling option
2016-07-03 15:39:57 -07:00
Chris Lu
d981eb282f
refactor volume_read_write.go out of volume.go
2016-07-03 00:10:27 -07:00
Chris Lu
576573711a
refactoring
2016-07-02 23:58:23 -07:00
Chris Lu
3d8df0f709
refactor volume_loading.go out of volume.go
2016-07-02 23:56:49 -07:00
Chris Lu
582d5d526c
refactoring
2016-07-02 23:50:58 -07:00
Chris Lu
3713119ab9
adjust verification logic.
...
1. log file name for easier debugging
2. remove unused version in readIndexEntryAtOffset()
3. if indexSize==0, the dataFile usually still has a super block of
size 8. So skipping this case.
2016-07-02 23:45:37 -07:00
Chris Lu
b617b13c43
remember oversized volumes
...
fix https://github.com/chrislusf/seaweedfs/issues/331
2016-06-27 15:28:23 -07:00
Chris Lu
d0dbf6d2ea
adjust logging
2016-06-26 12:49:10 -07:00
Chris Lu
0647c75a06
update dependency versions
2016-06-24 14:20:32 -07:00
Chris Lu
101e784577
add locking on possible concurrent map access
...
fix https://github.com/chrislusf/seaweedfs/issues/328
2016-06-23 09:10:25 -07:00
Chris Lu
356b8048c5
fix compilation problem due to API changes
2016-06-18 18:57:33 -07:00
Chris Lu
cc01c352c3
refactoring
2016-06-13 15:07:17 -07:00
Chris Lu
a61453d3ec
fix nil crash
...
fix https://github.com/chrislusf/seaweedfs/issues/320
2016-06-13 14:38:35 -07:00
Chris Lu
f6d75476b9
Merge pull request #315 from 030io/master
...
fix bug: filer DELETE
2016-06-10 10:53:55 -07:00
Chris Lu
e416679cea
Merge pull request #314 from hxiaodon/master
...
made a little change for Amazon S3 API's compatibility(v2)
2016-06-08 11:38:57 -07:00
Chris Lu
0e3140c54c
a little refactoring
2016-06-06 23:50:27 -07:00
Chris Lu
04380d6a36
Merge pull request #312 from hxiaodon/master
...
filer server concern the lead change
2016-06-06 23:44:02 -07:00
Chris Lu
e20ef8a077
add tool to change a volume's replication
...
fix https://github.com/chrislusf/seaweedfs/issues/29
2016-06-06 12:27:28 -07:00
Chris Lu
bb839ba268
fix
2016-06-05 10:57:14 -07:00
Chris Lu
96d2f11f81
adjust log
2016-06-05 09:05:03 -07:00
Chris Lu
b456173eb8
delete file storage when POST to update
...
PUT is used to update. But sometimes POST is also used to post the same
file again. In this case, the actual file storage was not marked as
deleted.
This fix will try its best to delete the orphan files.
2016-06-03 00:24:55 -07:00
Chris Lu
535b1610c8
add fid and url to filer post result
...
fix https://github.com/chrislusf/seaweedfs/issues/274
2016-06-02 20:44:50 -07:00
Chris Lu
4f47b8cff9
refactoring
2016-06-02 20:05:34 -07:00
Chris Lu
a6e948840d
fix path
2016-06-02 18:15:54 -07:00
Chris Lu
5ce6bbf076
directory structure change to work with glide
...
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
2016-06-02 18:09:14 -07:00
Chris Lu
caeffa3998
add missing unlock()!!!!!
2016-06-02 11:06:05 -07:00
Chris Lu
6df18a9181
rwlock concurrent read map
2016-05-30 12:30:26 -07:00
Chris Lu
46a89a7d61
fix concurrent write map
...
fix https://github.com/chrislusf/seaweedfs/issues/311
2016-05-27 08:13:43 -07:00
Chris Lu
59017da4f2
add missing parameters.
...
strange git errors happen twice since adding glide.
2016-05-26 08:37:27 -07:00
Chris Lu
45a12505f2
bind ip address when starting filer
...
fix https://github.com/chrislusf/seaweedfs/issues/290
2016-05-25 08:22:31 -07:00
Chris Lu
8e67c4f597
clean up old config only when peers are changed.
...
fix https://github.com/chrislusf/seaweedfs/issues/307
2016-05-24 10:45:28 -07:00
Chris Lu
c24c1ffd1a
skip vendor folder
2016-05-23 14:28:38 -07:00
Chris Lu
9d7868ee4e
add glide to manage dependency
...
fix https://github.com/chrislusf/seaweedfs/issues/256
2016-05-23 14:27:39 -07:00
Chris Lu
dfde029430
Merge pull request #306 from hankya/master
...
master: redirect handler accept collection parameter
2016-05-23 10:13:01 -07:00
Chris Lu
4734efa9a1
lock node.children
2016-05-19 23:57:31 -07:00
Chris Lu
57c85adc53
lock dn.volumes
2016-05-19 23:32:56 -07:00
Chris Lu
f8b03c45ef
properly release memory
...
fix https://github.com/chrislusf/seaweedfs/issues/301
2016-05-13 00:19:59 -07:00
Chris Lu
e639f1f889
Merge pull request #302 from alexanderk23/fix_content_disposition_header
...
Fix Content-Disposition header
2016-05-12 10:05:50 -07:00
Chris Lu
766512c475
close current needle map when switching
2016-05-09 10:04:21 -07:00
Chris Lu
3626ec5cf7
do not forget to vacuum if cluster changes
2016-05-09 09:58:06 -07:00
Chris Lu
e8193ec201
return nil if no error
...
fix https://github.com/chrislusf/seaweedfs/issues/299
2016-05-05 10:37:33 -07:00
Chris Lu
596f58507e
fix refactoring error
2016-04-28 09:29:21 -07:00
Chris Lu
442e798985
use detailed map of errors for distributed operations
2016-04-28 09:11:01 -07:00
Chris Lu
1d86ac8761
just refactoring
2016-04-26 20:45:35 -07:00
Chris Lu
c9e33d3709
separate into 2 files, no logic change
2016-04-26 20:10:26 -07:00
chrislusf
6dd257a81f
adjust to real case cache size
2016-04-15 12:06:43 -07:00
chrislusf
b03e7b26b5
add []byte caching and pooling
...
fixes https://github.com/chrislusf/seaweedfs/issues/211
2016-04-15 11:56:53 -07:00
chrislusf
3fb98a904b
fmt
2016-04-15 11:04:39 -07:00
chrislusf
74b045e9b6
improve performance a little bit when having white list
2016-04-14 14:42:19 -07:00
Chris Lu
6e21aeea59
Merge pull request #291 from vitalybaev/favicon
...
Added /favicon.ico handler
2016-04-14 09:06:35 -07:00
chrislusf
f91baa4b4b
mark it as 0.71beta
2016-04-14 01:31:03 -07:00
chrislusf
0649d778a7
pooling []byte
...
reduce the number of requests to make([]byte)
2016-04-14 01:30:26 -07:00
chrislusf
95e0d2f1b2
make VolumeLayout thread safe
2016-04-14 01:28:40 -07:00
Chris Lu
1b41b8682b
remove test image
2016-04-11 23:48:21 -07:00
Chris Lu
274230dbcb
releasing 0.70
2016-04-11 23:38:38 -07:00
Chris Lu
6c5eddaf1d
Merge pull request #288 from bluefoxah/master
...
[MOD] fix a bug.if node is nil will get an panic.
2016-04-11 07:43:20 -07:00
Chris Lu
b873b856f2
Merge pull request #287 from bluefoxah/master
...
modify the lock
2016-04-11 01:11:49 -07:00
chrislusf
112e2c6922
clearer error message
2016-04-10 01:50:58 -07:00
Chris Lu
62f9ce180d
Merge pull request #286 from thinxer/parseKeyHash
...
faster ParseKeyHash
2016-04-10 01:42:17 -07:00
chrislusf
b39c384d6d
Revert "Merge pull request #284 from thinxer/binary"
...
This reverts commit 3523ad5239 , reversing
changes made to 5d100994b1 .
2016-04-10 00:24:22 -07:00
Chris Lu
113392bce8
Merge pull request #285 from thinxer/needle-mutex
...
storage: do not copy sync.Mutex by value
2016-04-09 23:57:18 -07:00
Chris Lu
3523ad5239
Merge pull request #284 from thinxer/binary
...
replace util/bytes.go with binary.BigEndian (again)
2016-04-09 01:16:13 -07: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
Chris Lu
a87fe8ffce
Merge pull request #281 from thinxer/binary
...
replace util/bytes.go with binary.BigEndian
2016-04-06 07:08:55 -07:00
chrislusf
6876bfa685
avoid same directory with different dir ids
...
fix https://github.com/chrislusf/seaweedfs/issues/277
2016-04-04 16:32:18 -07:00
Chris Lu
7dcbbaa653
Merge pull request #276 from ernado/master
...
use klauspost/crc32 instead of hash/crc32
2016-04-01 12:35:44 -07:00
chrislusf
67cd8959bc
fix tests
2016-03-30 12:53:37 -07:00
chrislusf
c359a5117f
add lock to dir children map
...
fix https://github.com/chrislusf/seaweedfs/issues/273
2016-03-30 12:34:14 -07:00
Chris Lu
cc4d475519
Update README.md
2016-03-16 23:22:43 -07:00
chrislusf
62074c7653
adjust reading ip address
...
adjust reading ip address
2016-03-08 08:46:46 -08:00
chrislusf
4c8367a8b3
add redis password
...
fix https://github.com/chrislusf/seaweedfs/issues/263
2016-03-08 08:46:28 -08:00
Chris Lu
f7f9129b05
Merge pull request #259 from tnextday/master
...
Fix chunk manifest replicate upload error
2016-02-27 09:12:45 -08:00
Chris Lu
a436b0345a
Merge pull request #239 from hxiaodon/master
...
dereplicate filer post request & support filer get req with raw fileId
2016-01-17 21:29:36 -08:00
Chris Lu
40f7c5d286
Merge pull request #236 from hxiaodon/master
...
collection name could be specified in url
2016-01-04 15:15:37 -08:00
chrislusf
6c88abf62f
adjust print out when error
2015-12-30 22:48:19 -08:00
Chris Lu
963c36338a
Merge pull request #233 from hxiaodon/master
...
Update store_replicate.go
2015-12-30 22:44:05 -08:00
Chris Lu
4d56039ad4
Merge pull request #229 from Mohanson/patch-2
...
fix bug : master cann't redirect urlquery string
2015-12-25 00:56:05 -08:00
Chris Lu
9210bf4be1
Merge pull request #228 from Mohanson/patch-1
...
add Introductions of scale of image
2015-12-25 00:54:24 -08:00
chrislusf
7ae7029154
adjust usage text to fit the display
2015-12-14 22:52:52 -08:00
chrislusf
e921cb1a9d
format changes
2015-12-14 22:38:58 -08:00
Chris Lu
df5e54e02a
Merge pull request #224 from tnextday/feature/chunked-file-support
...
Feature/chunked file support
2015-12-14 21:42:38 -08:00
chrislusf
020dd480ed
fix
2015-11-22 10:11:25 -08:00
chrislusf
70d050416b
fix
...
set HTTP_X_FORWARDED_FOR when proxying
https://github.com/chrislusf/seaweedfs/issues/214
2015-11-22 09:31:43 -08:00
Chris Lu
dcb8215482
Merge pull request #221 from euforia/master
...
Added basic makefile
2015-11-17 18:42:06 -08:00
chrislusf
805740069a
go fmt
2015-10-19 22:03:18 -07:00