Closed GoogleCodeExporter closed 9 years ago
Original comment by archie.c...@gmail.com
on 10 Jul 2008 at 3:31
I have reproduced this error and it seems to be fixed by the attached patch.
Please
test this out and confirm it fixes the problem for you too. Thanks for the bug
report.
Original comment by archie.c...@gmail.com
on 11 Jul 2008 at 1:52
Attachments:
Original comment by archie.c...@gmail.com
on 11 Jul 2008 at 2:21
Not quite fixed.
Yes, looped 400 errors no longer happen.
But sometimes that block where failure happened is not updated.
And some kind of raw S3 response goes to the log (with error that is ignored).
Bucket is empty and I am writing with dd.
Look at the log:
2008-07-11 15:14:59 INFO: retrying query (attempt #19): PUT
http://s3.amazonaws.com/du-backup4/macos0000003a
<Error><Code>AccessDenied</Code><Message>Access
Denied</Message><RequestId>A0A999C258EC4C0A</RequestId><HostId>qvZCP8r8gna5Cq9Xq
fuJbm9ysFyDmNbRkRKxg7I6DtjTBdGKDka0QuW65iCNGHV9</HostId></Error><?xml
version="1.0" encoding="UTF-8"?>
2008-07-11 15:14:59 DEBUG: success: PUT
http://s3.amazonaws.com/du-backup4/macos0000003a
WRITE[0] 4096 bytes
unique: 15, error: 0 (Unknown error: 0), outsize: 24
unique: 15, opcode: WRITE (16), nodeid: 2, insize: 4160
And after that there is no block macos0000003a in a bucket at all.
The same thing happens with full bucket. File system thinks block has been
updated
but it is not.
Original comment by dimaulu...@gmail.com
on 11 Jul 2008 at 7:30
Original comment by archie.c...@gmail.com
on 11 Jul 2008 at 2:45
My apologies, previous fix was incomplete. I have committed a better fix in r92.
Please try it out.
Note: changes include a change to configure.ac, which requires regenerating the
autofoo stuff (use autogen.sh). Alternately, you can try this simply by
downloading
the latest version of s3backer.c from
http://s3backer.googlecode.com/svn/trunk/s3backer.c and then manually adding
"-fnested-functions" to CFLAGS (if using MacOS).
Original comment by archie.c...@gmail.com
on 11 Jul 2008 at 4:34
Yes. No It works better.
But now I can't start it without "-d -f" flags - on first request s3backer
crashes.
Crash report included.
Original comment by dimaulu...@gmail.com
on 12 Jul 2008 at 12:55
Attachments:
Original comment by archie.c...@gmail.com
on 12 Jul 2008 at 2:12
This time the problem is that Mac OS barfs on GCC nested functions. I've
refactored
s3backer.c to not use them in r98. Please give it a try. Thanks.
Original comment by archie.c...@gmail.com
on 13 Jul 2008 at 9:59
Looks good! Thanks!
Original comment by dimaulu...@gmail.com
on 15 Jul 2008 at 2:48
Original comment by archie.c...@gmail.com
on 15 Jul 2008 at 3:03
Original issue reported on code.google.com by
dimaulu...@gmail.com
on 10 Jul 2008 at 12:21