Commit Graph

11180 Commits

Author SHA1 Message Date
Chris Lu
a506e7953f Separate read and write volume handlers. 2015-02-25 23:59:07 -08:00
chrislusf
382c521df7 Show returned content when can not parse son 2015-02-20 09:12:02 -08:00
chrislusf
226df38c95 Redirect to publicUrl
Redirect to publicUrl
2015-02-12 21:12:53 -08:00
chrislusf
e282a9b06a Fix compilation error 2015-02-12 19:51:48 -08:00
chrislusf
3b1b955fc5 ensure non empty volume publicUrl 2015-02-12 17:51:13 -08:00
chrislusf
e0d8259d98 Randomize http redirect.
Randomize http redirect.
Also remove unnecessary empty string checking.
2015-02-12 14:34:05 -08:00
chrislusf
be35ec63cb Merge pull request #84 from EPICPaaS/master
Move the redirect url prefer to volume server's PublicUrl
2015-02-12 08:43:26 -08:00
yourchanges
7e0c080581 Move the redirect url perfer to volume server's PublicUrl 2015-02-12 18:46:56 +08:00
yourchanges
000c645d45 Move the redirect url perfer to volume server's PublicUrl (reverted from commit 701bb9af19) 2015-02-12 18:44:45 +08:00
yourchanges
701bb9af19 Move the redirect url perfer to volume server's PublicUrl 2015-02-12 18:37:26 +08:00
yourchanges
2e0d0046c4 Move the redirect url to volume server's PublicUrl (reverted from commit 2df72001b2) 2015-02-12 18:35:29 +08:00
yourchanges
2df72001b2 Move the redirect url to volume server's PublicUrl 2015-02-12 18:15:36 +08:00
yourchanges
2adf4a108b Merge pull request #6 from chrislusf/master
merge
2015-02-12 17:32:53 +08:00
chrislusf
eff83a87d1 Add publicUrl for master server 2015-02-11 21:04:43 -08:00
Chris Lu
f7998f8652 merge conflicts 2015-02-07 15:35:28 -08:00
chrislusf
714ccb6e2b Fix compilation error due to upstream API change.
Fix compilation error due to upstream API change.
2015-02-05 23:11:27 -08:00
chrislusf
1a04522e18 Fix option name -defaultReplication
Fix option name -defaultReplication
2015-02-05 23:03:34 -08:00
chrislusf
09f98630c0 Avoid checking folder if not using filer. fix #80
Fix https://github.com/chrislusf/weed-fs/issues/80
2015-02-05 10:12:35 -08:00
chrislusf
75f4964c48 Merge pull request #79 from aszxqw/master
use sync.RWMutex when masterNode changes
2015-02-04 02:12:38 -08:00
yanyiwu
7bfa93a283 use sync.RWMutex when masterNode changes 2015-02-04 18:05:18 +08:00
yourchanges
55c40997b1 Merge pull request #5 from chrislusf/master
merge
2015-02-03 14:03:17 +08:00
yourchanges
133181bbe4 add -reverseProxyServer="volume.xxx.com" to volume server try to fix #9 (reverted from commit 3beb80c907) 2015-02-03 13:54:44 +08:00
chrislusf
b13bcdaeda Fix travis build 2015-02-02 17:27:29 -08:00
chrislusf
1791de4ae4 Avoid creating filer folder if not starting it. 2015-02-02 16:26:12 -08:00
chrislusf
e381356af9 change CLI option from publicIp to publicUrl
Now the publicUrl is free style text.
2015-02-02 15:51:25 -08:00
chrislusf
cc724305b6 Using Url instead of PublicUrl for volume server
Originally there are only url(ip + port), and publicUrl. Because ip was
used to listen for http service, it has less flexibility and volume
server has to be accessed via publicUrl.

Recently we added ip.bind, for binding http service.

With this change, url can be used to connect to volume servers. And
publicUrl becomes a free style piece of url information, it does not
even need to be unique.
2015-02-02 10:16:50 -08:00
chrislusf
29a325626f Merge pull request #78 from aszxqw/usercase
usecase: Data Migration Example
2015-02-02 09:02:48 -08:00
yanyiwu
74ff6bc3ed usecase: Data Migration Example 2015-02-03 00:31:39 +08:00
yanyiwu
77cab2b570 usecase: Data Migration Example 2015-02-03 00:28:28 +08:00
yourchanges
3beb80c907 add -reverseProxyServer="volume.xxx.com" to volume server try to fix #9 2015-02-02 15:37:03 +08:00
yourchanges
a2b1afce78 Merge pull request #4 from chrislusf/master
merge
2015-02-02 15:21:55 +08:00
chrislusf
0e23ee4dce Update volume server's master node when masters change. 2015-01-31 12:47:04 -08:00
chrislusf
e4f06a7069 Merge pull request #73 from aszxqw/master
use proto "github.com/golang/protobuf/proto"
2015-01-29 23:34:40 -08:00
yanyiwu
2f10f2960b use proto "github.com/golang/protobuf/proto" 2015-01-30 15:09:37 +08:00
chrislusf
23ed4d36c8 Merge pull request #70 from stuartpb/patch-2
Note usable methods in examples
2015-01-29 07:43:15 -08:00
chrislusf
79e84ddaed Merge pull request #71 from stuartpb/patch-3
2^60 is an exbibyte
2015-01-29 07:40:32 -08:00
Stuart P. Bentley
b3e467a939 2^60 is an exbibyte
http://en.wikipedia.org/wiki/Exbibyte
2015-01-29 09:10:26 -05:00
Stuart P. Bentley
b78afa688a Note usable methods in examples
This change also rewrites all example lead-ins to come *before* the examples, and not after.
2015-01-29 08:45:28 -05:00
chrislusf
440af8033d Merge pull request #69 from stuartpb/patch-1
Use proper HTTP verbs in README curl examples
2015-01-28 23:24:35 -08:00
Stuart P. Bentley
73451c68eb Use proper HTTP verbs in README curl examples
As discussed in #65
2015-01-29 01:29:41 -05:00
chrislusf
3edc33732a Merge pull request #66 from forrestsun/master
fix bug: #46
2015-01-27 10:43:05 -08:00
shenglong.sun
29cd7b3e00 fix bug: #46 2015-01-27 13:58:05 +08:00
chrislusf
eb174a3de1 add mailing list 2015-01-21 16:16:24 -08:00
Chris Lu
b2ad9a1110 Fix compilation error. 2015-01-18 17:11:37 -08:00
Chris Lu
7b4a53b2c1 Add optional admin port to volume server, to seperate admin operations from normal file operations. 2015-01-18 17:03:38 -08:00
chrislusf
7b10d62096 Merge pull request #60 from EPICPaaS/master
Fix the #59 and #56
2015-01-16 07:27:21 -08:00
yourchanges
a86042e413 fix the #59 and #56 2015-01-16 17:30:23 +08:00
yourchanges
47bc0f2f29 Merge pull request #3 from chrislusf/master
merge
2015-01-16 14:14:10 +08:00
Chris Lu
0bd992aa44 Support multiple filers with shared Redis, Cassandra. 2015-01-14 22:20:18 -08:00
Chris Lu
41bd5179f3 Resolve Conflicts 2015-01-14 09:56:13 -08:00