Steve Kemp
2a777a970c
Allow whitelisting by CIDR range, not just literally.
This allows you to write something like this:
/usr/local/bin/weed master -mdir /srv/weed/master -whiteList=192.168.0.0/24,127.0.0.1
This will whitelist all the 192.168.0.XX hosts, as well as localhost.
9 years ago
chrislusf
91db227b27
avoid using empty fileId to delete
fix https://github.com/chrislusf/seaweedfs/issues/183
9 years ago
Timur Nurutdinov
4b0904e9c4
fix extract collection name from .dat file
9 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
320e946d50
fix ttl change detection
https://github.com/chrislusf/seaweedfs/issues/166
10 years ago
chrislusf
c4897df09c
Revert "adjust symlink"
This reverts commit 8b1f83a0ed
.
10 years ago
chrislusf
8b1f83a0ed
adjust symlink
as recommended in https://github.com/chrislusf/seaweedfs/issues/160
10 years ago
chrislusf
430f371a97
fix wrong logic
10 years ago
chrislusf
9b8f8f4bb9
add logging
10 years ago
chrislusf
d8bb3845ae
fix glog format
10 years ago
Chris Lu
a6aa79aab2
merge with latest glog
10 years ago
chrislusf
2c595d2d16
skip isFileUnchanged checking since ttl always change
skip checking since ttl always change. Fixing
https://github.com/chrislusf/seaweedfs/issues/166
10 years ago
chrislusf
a4d3f2da3d
Avoid nil case when fixing data
10 years ago
chrislusf
3476d31e50
Add Ext format when exporting files.
10 years ago
chrislusf
95855da282
Adjust for window path
fix https://github.com/chrislusf/seaweedfs/issues/161
10 years ago
chrislusf
3b2645979d
Use request host info for master url if possible
Fix https://github.com/chrislusf/seaweedfs/issues/148
10 years ago
chrislusf
418878edce
In case lastNode==0, need to set it to -1
Fix https://github.com/chrislusf/seaweedfs/issues/156
10 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
10 years ago
chrislusf
fd2e6bcf5d
Easier variable names
10 years ago
chrislusf
26cdd11d8f
Fix compilation error!!!
10 years ago
chrislusf
51aac49e82
each command use its own options to avoid parameter collision
fix https://github.com/chrislusf/seaweedfs/issues/152
10 years ago
chrislusf
e09f45f5ed
Fix compilation error.
Fix for https://github.com/chrislusf/seaweedfs/issues/150
10 years ago
chrislusf
32ba7fc6c0
Fix a possible index out of range error. Remove unnecessary caching.
10 years ago
chrislusf
86cd40fba8
Add "weed backup" command.
This is a pre-cursor for asynchronous replication.
10 years ago
chrislusf
7272af8ec4
Adjust dir parameter default value.
10 years ago
chrislusf
c86ae76e02
Remove old file
10 years ago
chrislusf
c89b4fd18b
Add ParseUint64 function
10 years ago
chrislusf
36a31771f1
Add Key String() function
10 years ago
chrislusf
8f88d382a5
Rename variables
10 years ago
chrislusf
d3d23e779a
Adjust log message
10 years ago
chrislusf
3afa3bea73
Adjust log message
10 years ago
chrislusf
85bfab612c
Add comments
10 years ago
chrislusf
c7cf4fa46c
Fix looking for master nodes.
10 years ago
Denis Yeldandi
4e1c30b60a
Added -newer argument, which takes a date/time in RFC3339 format and
exports only files newer than this time
10 years ago
chrislusf
99aee22e08
Adjust admin url pattern
10 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.
10 years ago
chrislusf
3188382ea7
More debug information for connecting to master
10 years ago
chrislusf
b8314fb054
Textual changes.
10 years ago
chrislusf
66317b8438
Increase compact revision during each compaction
10 years ago
chrislusf
dac3b592ed
Add compact revision in volume super block
10 years ago
chrislusf
49b1ba5bbf
break away from code.google.com
10 years ago
yanyiwu
dc47db5512
unittest: TestSortVolumeInfos
10 years ago
yanyiwu
b7a18580b8
Sort VolumeInfos by VolumeId in Store.Status();
Ordered VolumeInfos is more Human-readable,
especially when there is a lot of volumes.
10 years ago
yanyiwu
eaad4fa3c4
BUG FIXED: RoundRobinCounter.Add will cause a out of range crash
when index >= len(rrc.Values)
10 years ago
yanyiwu
c65b9588e2
[ui] BUG FIXED: Concurrent Connections incorrect.
10 years ago
yanyiwu
9cd221cc33
More readable peers usage:
other master nodes in comma separated ip:port list, example:
127.0.0.1:9333,127.0.0.1:9334
Add example to prompt ip:port list is split by ','
10 years ago
chrislusf
5c81fa1075
Prepend prefix "0" for odd number of hex characters.
10 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!"}
10 years ago
yanyiwu
3f253a587c
[ui] seaweedfs logo and icon
10 years ago
Stuart P. Bentley
86e80aa9a0
Fix a couple more weedfs -> SeaweedFS instances
Apparently I forgot to save these files before submitting #121
10 years ago