tnextday
69831c40fe
util: http Post auto make url
util: add RemoteApiCall
*: add store task client
store task: auto clean task when finish
10 years ago
tnextday
7b2e53461f
Add `CollectionSetttings` util
10 years ago
tnextday
f9ddb6598c
Store: add a task manager to handler some volume task, such as replication, vacuum, balancing data. master can query task status using http long polling
Store: save NeedleMapKind value in Store
VolumeServer: add store task manager interface
Volume: rename `CleanReader` to `PureReader`
Makefile: format code before build
joinmessage: add `GolobalSetting` in join response
*: simplify code use `gofmt -s`
10 years ago
tnextday
83c8bd4e8b
Replica pacement now set by global or collection settting, we can change it anytime, then the cluster will automate replica the volume(developing).
10 years ago
tnextday
c12e45f9b2
format code
10 years ago
tnextday
0260a9c030
Update volume layout when volume option have changed
10 years ago
tnextday
f85acd7dea
Volume server add `/admin/setting` interface, support set volume replication and readonly
10 years ago
tnextday
1c4b0fd9a0
lookup support query `Head` and `readonly` location
10 years ago
chrislusf
e921cb1a9d
format changes
10 years ago
tnextday
031d26527f
update
10 years ago
tnextday
521be17a9e
verbose log
10 years ago
tnextday
f925374db6
Move write response content into a function
10 years ago
tnextday
3e304e51e9
master server can reset the replicate replacement
10 years ago
tnextday
30746b7ec6
set_replica allow set all or by collection
10 years ago
tnextday
3bfb2d09cb
Volume server add "/admin/set_replica" handle to update volume replica placement setting
10 years ago
tnextday
39c97f8955
update
10 years ago
tnextday
8454b05319
fix ScanDirtyData bug
10 years ago
tnextday
9d03f763dc
Volume server add `/admin/sync/vol_data` handler to serve cleaned volume date
10 years ago
tnextday
82e6d67ccc
update
10 years ago
tnextday
4fda5f8bfd
update
10 years ago
tnextday
daac5de1ba
more check in `http_util.Delete`
add status code in `DeleteResult` struct
operation.DeleteFiles maybe unsafe, so `ChunkManifest.DeleteChunks` manually delete each chunks
10 years ago
tnextday
a9a336fdff
delete file return needle size
10 years ago
tnextday
34963de458
returen chunks file size when delete a chunkmanifest
10 years ago
tnextday
662915e691
Delete all chunks when delete a ChunkManifest
LoadChunkManifest can uncompress buffer
move compress.go from storage to operation because of import cycle
MakeFile add cross complete command
10 years ago
tnextday
520875d455
update
10 years ago
tnextday
d0e2475ece
`FilePart.Upload` use base name instead of full path
fix chunked file download error
10 years ago
tnextday
2c0a7fe75e
complete submit chunked file
10 years ago
tnextday
de5e07ce3e
rename FlagChunkedFile to FlagChunkManifest
10 years ago
tnextday
6b0894d806
update ChunkedFile to seekable reader, so we can use io.* to read data
10 years ago
tnextday
1817864a45
add chunk file helper to support large file
10 years ago
chrislusf
020dd480ed
fix
10 years ago
chrislusf
70d050416b
fix
set HTTP_X_FORWARDED_FOR when proxying
https://github.com/chrislusf/seaweedfs/issues/214
10 years ago
chrislusf
5feae4f74c
enable collection deletion
10 years ago
chrislusf
91db227b27
avoid using empty fileId to delete
fix https://github.com/chrislusf/seaweedfs/issues/183
10 years ago
chrislusf
7d1e9a6b8a
add option to redirect moved or non-local volumes
fix https://github.com/chrislusf/seaweedfs/issues/168
10 years ago
chrislusf
9b8f8f4bb9
add logging
10 years ago
chrislusf
3b2645979d
Use request host info for master url if possible
Fix https://github.com/chrislusf/seaweedfs/issues/148
11 years ago
chrislusf
30242409f4
allowing proxy to leader for volume id lookup then redirect to volume server
Fix https://github.com/chrislusf/seaweedfs/issues/154
11 years ago
chrislusf
86cd40fba8
Add "weed backup" command.
This is a pre-cursor for asynchronous replication.
11 years ago
chrislusf
d3d23e779a
Adjust log message
11 years ago
chrislusf
99aee22e08
Adjust admin url pattern
11 years ago
yanyiwu
96b73e3e94
if mt != "application/octet-stream"
became
if !strings.HasPrefix(mt, "application/octet-stream")
In our situation,
mt can be 'application/octet-stream;charset=ISO-8859-1',
so I think HasPrefix will be more accurate.
11 years ago
chrislusf
3188382ea7
More debug information for connecting to master
11 years ago
chrislusf
49b1ba5bbf
break away from code.google.com
11 years ago
yanyiwu
c65b9588e2
[ui] BUG FIXED: Concurrent Connections incorrect.
11 years ago
yanyiwu
6f96862662
FIXED: When RaftServer cannot find a leader, Return a more readable error.
Before:
curl -F "file=1234" "http://127.0.0.1:9333/submit "
{"error":"Post http:///dir/assign : http: no Host in request URL"}
After:
curl -F "file=1234" "http://127.0.0.1:9333/submit "
{"error":"Raft Server not initialized!"}
11 years ago
yanyiwu
3f253a587c
[ui] seaweedfs logo and icon
11 years ago
Stuart P. Bentley
1a194a578c
More consistency with SeaweedFS name
Among the changes, this replaces a couple instances of "Seaweed File System"
with "SeaweedFS", for the same reason that nobody says "Mongo Data Base".
11 years ago
Stuart P. Bentley
03d99503bb
Fix flat_namespace_filer.go implementing "FlatNamesapceFiler"
11 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
11 years ago