Git Product home page Git Product logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 10 Jul 2008 at 3:31

  • Changed state: Accepted
  • Added labels: AffectsVersion-1.0.3, Priority-High
  • Removed labels: Priority-Medium

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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 [email protected] on 11 Jul 2008 at 1:52

  • Added labels: AffectsVersion-1.0.4, FixVersion-1.0.5
  • Removed labels: AffectsVersion-1.0.3

Attachments:

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 11 Jul 2008 at 2:21

  • Changed state: Fixed

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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 [email protected] on 11 Jul 2008 at 7:30

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 11 Jul 2008 at 2:45

  • Changed state: Accepted

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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 [email protected] on 11 Jul 2008 at 4:34

  • Changed state: Fixed

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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 [email protected] on 12 Jul 2008 at 12:55

Attachments:

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 12 Jul 2008 at 2:12

  • Changed state: Accepted

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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 [email protected] on 13 Jul 2008 at 9:59

  • Changed state: Fixed

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
Looks good! Thanks!

Original comment by [email protected] on 15 Jul 2008 at 2:48

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by [email protected] on 15 Jul 2008 at 3:03

  • Changed state: Verified

from s3backer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.