repo.or.cz
/
ruby-mogilefs-client.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Don't let size(key) get tricked by non-200 OK responses
2008-12-31
Eric
W
o
n
g
Don't l
e
t size(key) get tricked
by non-20
0
O
K
responses
commit
|
commitdiff
|
tree
2008-12-31
Eri
c
Wong
Clean
u
p
and document
http_get_sock
commit
|
commitdiff
|
tree
2008-12-31
E
r
ic Wong
n
ew M
o
gileFS::Network mo
d
ule, move verify_
u
ris there
commit
|
commitdiff
|
tree
2008-12-30
E
ric Won
g
H
i
stor
y
: note that 2
.
0
.
0 is still a wo
r
k-
i
n-prog
r
ess
commit
|
commitdiff
|
tree
2008-12-29
Eric
W
ong
s
ysrw
l
oop: make sure des
c
riptors ar
e
f
lushed and synced
commit
|
commitdiff
|
tree
2008-12-25
Eric
W
ong
GNUmakefile: allow
"
make test/test*
.
rb"
to w
o
rk
commit
|
commitdiff
|
tree
2008-12-24
Eric W
o
ng
test_
m
ogilefs: fix broke
n
test c
a
se
that was timing o
u
t
commit
|
commitdiff
|
tree
2008-12-24
Eric Wong
GNUmakefile:
remove d
e
pendency on bas
h
3
commit
|
commitdiff
|
tree
2008-12-24
Eric
Wong
test_mogi
l
efs: allow NR
_
CHUNKS to be ove
r
ridable v
i
a env
commit
|
commitdiff
|
tree
2008-12-24
Eric Wong
sh
o
rten Mog
i
leFS__Db
B
ackend test na
m
e
commit
|
commitdiff
|
tree
2008-12-24
Eric Won
g
H
T
TPFile: handle
m
ul
t
iple
d
e
v
ice failover correctl
y
commit
|
commitdiff
|
tree
2008-12-24
Eric
W
ong
M
ogile
F
S::MogileFS: simplify get_paths
commit
|
commitdiff
|
tree
2008-12-24
Er
i
c W
o
n
g
Add
GNU Makefile for runn
i
ng tests in a parallel
commit
|
commitdiff
|
tree
2008-12-24
Eri
c
Wong
t
e
st/setup: remove r
u
bygems and zentest a
s
sertions
commit
|
commitdiff
|
tree
2008-12-24
Eric Wong
te
s
t_client: make this wo
r
k o
u
tside of "rake test"
commit
|
commitdiff
|
tree
2008-12-24
Eric Wong
b
a
c
kend: remove pointless connect_t
o
m
eth
o
d
commit
|
commitdiff
|
tree
2008-12-24
Eric Wong
test/s
e
tup: EAC
C
ES, no
t
E
ACCES_S_
commit
|
commitdiff
|
tree
2008-12-24
Eric W
o
ng
Make sure select(2)
calls ar
e
IO
.
sele
c
t
commit
|
commitdiff
|
tree
2008-12-24
Eric
Wong
backend: reme
m
ber to require 'thread'
h
er
e
commit
|
commitdiff
|
tree
2008-12-23
Eric Wong
test/setup: TempServer saner port acquiry
commit
|
commitdiff
|
tree
2008-12-23
Eri
c
Wong
Remove NFS support
commit
|
commitdiff
|
tree
2008-12-23
Eri
c
Wo
n
g
HTTPFile: rename b
i
gfile acces
s
or to big_
i
o
commit
|
commitdiff
|
tree
2008-12-23
Eric Wong
M
o
g
ile
F
S::
H
TTP
F
ile: su
p
port TCP_CORK o
n
Linux
commit
|
commitdiff
|
tree
2008-12-23
Eric Wong
Cre
a
te
a
ll sockets with TCP_NODELAY
commit
|
commitdiff
|
tree
2008-12-23
Eric
Wong
R
e
p
lace T
C
PS
o
cket + tim
e
out code
w
ith Socket + IO
.
select
commit
|
commitdiff
|
tree
2008-12-23
Er
i
c Wong
t
e
st
:
r
e
move FakeSoc
k
et code
commit
|
commitdiff
|
tree
2008-12-19
Eric Wong
Allow Mogil
e
FS::Mogile
F
S
to use :
d
b_backe
n
d =>
MogileF
S
.
.
.
commit
|
commitdiff
|
tree
2008-12-19
Eric
Wong
MogileFS::Mysql: sleep() is MogileFS::Backend-compat
i
ble
commit
|
commitdiff
|
tree
2008-12-19
Eric Won
g
test: move mocks fro
m
test
_
mys
q
l to
t
es
t
/setup
commit
|
commitdiff
|
tree
2008-12-19
Eric
Wong
test_mysql: remo
v
e unnecess
a
ry requ
i
res
commit
|
commitdiff
|
tree
2008-12-19
E
ric Wong
MogileFS:
:
Mysql:
s
tart making this a backend
for MogileFS
.
.
.
commit
|
commitdiff
|
tree
2008-12-19
Eric Wong
Mo
g
ileFS::Mysql: list_keys returns ni
l
i
f
n
othing was
.
.
.
commit
|
commitdiff
|
tree
2008-12-19
Eric W
o
ng
Add
some docu
m
entation
a
nd comments to new code
commit
|
commitdiff
|
tree
2008-12-19
E
r
i
c
W
ong
MogileFS::Bigfile: remove Th
r
ead
.
abort_on_exce
p
ti
o
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-19
Eric Wong
MogileFS::Mysq
l
: read-only methods for M
o
gi
l
eFS::MogileFS
.
.
.
commit
|
commitdiff
|
tree
2008-12-19
Er
i
c
Wong
Add test for the Mysq
l
in
t
e
rf
a
ce
commit
|
commitdiff
|
tree
2008-12-18
Eric Wo
n
g
MogileFS::Mys
q
l: small cleanups to m
a
ke testing easi
e
r
commit
|
commitdiff
|
tree
2008-12-12
E
r
ic Wong
MogileFS:
:
M
y
sql: m
o
re flexible Mysql driver handlin
g
commit
|
commitdiff
|
tree
2008-12-10
Eric
Wong
initial
b
igfile read support
commit
|
commitdiff
|
tree
2008-12-03
Er
i
c Wong
M
ogil
e
F
S
:
:Util: avoid calling s
y
swrite on
ze
r
o-le
n
g
th
.
.
.
commit
|
commitdiff
|
tree
2008-10-31
Eric Wong
sysrwl
o
op: safely handle non-
b
lo
c
king sockets
commit
|
commitdiff
|
tree
2008-10-31
Eri
c
Wong
mog: fix
'tee'
command
so
t
hat it
a
ctu
a
ll
y
outputs
.
.
.
commit
|
commitdiff
|
tree
2008-10-31
Eric Wong
Allow sysrwloop to take an opti
o
nal f
i
lter Proc
commit
|
commitdiff
|
tree
2008-10-31
Eric Wong
Move htt
p
_
get_sock int
o
its own fu
n
ction
commit
|
commitdiff
|
tree
2008-10-24
Eric Wong
mysql: docu
m
entation for p
u
blic functions
commit
|
commitdiff
|
tree
2008-10-24
E
r
ic
W
o
ng
add
.
gitignore
commit
|
commitdiff
|
tree
2008-10-24
Eric Wong
His
t
ory: add n
o
te
a
bout MogileFS::Mysql
commit
|
commitdiff
|
tree
2008-10-24
Eric Wong
LI
C
ENS
E
:
a
dd Eric
Wong to co
p
yright
commit
|
commitdiff
|
tree
2008-10-24
E
ric Won
g
README
:
formatting changes
,
r
emove tra
i
ling whitespace
commit
|
commitdiff
|
tree
2008-10-24
Eric
Won
g
R
E
ADME: note that
:
root is only
r
e
q
ui
r
ed fo
r
NFS
commit
|
commitdiff
|
tree
2008-10-24
Eric
W
o
ng
README:
a
dd git
r
epo
s
itory links,
u
p
date Warni
n
g sect
i
on
commit
|
commitdiff
|
tree
2008-10-24
E
r
ic Wong
m
y
s
ql: allow specifying connect,read,
w
rite t
i
me
o
uts
commit
|
commitdiff
|
tree
2008-10-22
Eric Wong
Mysql: size()
m
ethod r
e
turns
a
n
integer
commit
|
commitdiff
|
tree
2008-10-22
Eric Wong
MySQL: swit
c
h to async
i
nterface
commit
|
commitdiff
|
tree
2008-10-18
Eric Wong
Mog
i
l
e
FS:
:
B
ackend: tim
e
out code allows re
t
ryi
n
g other
.
.
.
commit
|
commitdiff
|
tree
2008-10-18
Eric Wong
Add Mogi
l
eFS::Mysql
c
l
a
ss, allowing read-only access
.
.
.
commit
|
commitdiff
|
tree
2008-10-17
Eric Wong
Add verify_
u
ri
s
utility method
commit
|
commitdiff
|
tree
2008-10-16
E
r
ic Won
g
mog: try more verbose error handling
commit
|
commitdiff
|
tree
2008-10-16
Eric Wong
Start w
o
rking on v2
.
0
.
0 ent
r
y and no
t
e
s
commit
|
commitdiff
|
tree
2008-10-16
E
r
ic Wong
A
void dou
b
le-
c
l
ose on bigfiles
commit
|
commitdiff
|
tree
2008-10-16
E
ric W
o
ng
B
a
ckend: use the cons
i
stent shutd
o
wn(
)
m
e
thod to close
.
.
.
commit
|
commitdiff
|
tree
2008-10-16
Er
i
c Wong
l
ist
_
keys tr
a
p exceptio
n
in t
h
is method
commit
|
commitdiff
|
tree
2008-10-16
E
r
i
c
Wong
mog: ret
r
y on Backend::NoDevicesErro
r
commit
|
commitdiff
|
tree
2008-10-16
Eric Wong
R
e
p
l
ac
e
the last
of the
a
d-ho
c
RuntimeError e
x
c
e
ption
s
commit
|
commitdiff
|
tree
2008-10-16
Eri
c
Wong
mog: increa
s
e timeout f
o
r interacti
v
e use
commit
|
commitdiff
|
tree
2008-10-16
Eric Wong
Backend: con
v
ert socket
/
invalid response errors
to
.
.
.
commit
|
commitdiff
|
tree
2008-10-16
Eric Wong
H
T
T
PFile:
u
se
a
standard
se
t
of
e
xceptions h
e
re, too
commit
|
commitdiff
|
tree
2008-10-15
E
ric W
o
ng
H
TTPFi
l
e:
remove sc
a
ry
me
s
sag
e
about this no
t
w
orking
commit
|
commitdiff
|
tree
2008-10-15
Eric Wong
Ra
i
s
e Mogi
l
eFS::ReadOnly error for reado
n
ly instances
commit
|
commitdiff
|
tree
2008-10-15
Eric Wo
n
g
Use e
x
ceptions for all errors s
e
nt to us
f
rom the bac
k
end
commit
|
commitdiff
|
tree
2008-10-15
Eric Wo
n
g
Ba
c
kend: automaticall
y
c
r
e
ate exceptions ba
s
ed on erro
r
s
.
.
.
commit
|
commitdiff
|
tree
2008-10-15
E
ric Won
g
c
r
eate
M
ogileFS::Error class
t
o base our
other errors
.
.
.
commit
|
commitdiff
|
tree
2008-10-07
Eric Wong
r
emov
e
'
o
p
e
n
-uri
'
d
e
p
endency
commit
|
commitdiff
|
tree
2008-10-07
Eric
W
on
g
M
o
gileFS::
M
ogileFS::
a
dd paths_size() API c
a
ll
commit
|
commitdiff
|
tree
2008-10-07
Eric Wo
n
g
Use TCPSocket inst
e
ad
of Net::HTTP for HE
A
D
r
eque
s
ts
commit
|
commitdiff
|
tree
2008-10-03
E
r
ic Wong
Version 1
.
3
.
1
commit
|
commitdiff
|
tree
2008-10-03
Eric Wong
Remember to include MogileFS::Util in MogileFS::
M
ogileFS
commit
|
commitdiff
|
tree
2008-09-18
Eric Wong
Ver
s
i
o
n 1
.
3
.
0
commit
|
commitdiff
|
tree
2008-09-18
Eric
Wong
Update
main
t
ai
n
er
a
nd
r
elease info
commit
|
commitdiff
|
tree
2008-09-18
Eric Won
g
Fix Ze
n
T
est dep
e
ndency and ma
k
e
it a
d
ev-only
dep
commit
|
commitdiff
|
tree
2008-09-18
Eric Won
g
mog: ad
d
`test' command, curre
n
t
ly only
supports "test -e"
commit
|
commitdiff
|
tree
2008-09-18
Eric Wong
mog: en
s
ure
t
he tempfile is kill
e
d at death
commit
|
commitdiff
|
tree
2008-09-12
Eric Wong
mo
g
: han
d
le S
I
G
P
IPE an
d
SIGINT gracefull
y
commit
|
commitdiff
|
tree
2008-09-09
Eric Wong
Add `mog' comm
a
nd-
l
ine
tool as an examp
l
e
/frontend
commit
|
commitdiff
|
tree
2008-09-09
Eric Wong
L
o
wer the large-
f
ile threshold to 6
4
K
commit
|
commitdiff
|
tree
2008-09-09
Eric
W
ong
mogilefs: only t
i
meout on connect/header reading
commit
|
commitdiff
|
tree
2008-09-09
Eric Wong
Al
l
ow
g
e
t
_file_
d
ata to accept a block for large files
commit
|
commitdiff
|
tree
2008-09-09
Eric Wo
n
g
Add MogileFS::Util for
a sysrwloop()
f
unction
commit
|
commitdiff
|
tree
2008-09-09
E
r
ic
Wong
Fix each_ke
y
s loop termina
t
ion conditio
n
commit
|
commitdiff
|
tree
2008-09-09
Eric Wo
n
g
HTTPFile: use
I
O
.
sysre
a
d for
b
etter p
e
rforma
n
ce
commit
|
commitdiff
|
tree
2008-09-09
Eric Wong
HTTPFil
e
: more re
a
sonable
c
hunk s
i
z
e
for b
i
g files
commit
|
commitdiff
|
tree
2008-09-09
Eric Wong
Apply e
r
ror h
a
n
d
ling patch
f
rom Matth
e
w
W
illson
commit
|
commitdiff
|
tree
2008-09-09
E
r
ic
Wong
m
erge l
a
rge file
p
atch
from Andy La Foe
commit
|
commitdiff
|
tree