Comments (11)
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.
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.
Original comment by [email protected]
on 11 Jul 2008 at 2:21
- Changed state: Fixed
from s3backer.
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.
Original comment by [email protected]
on 11 Jul 2008 at 2:45
- Changed state: Accepted
from s3backer.
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.
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.
Original comment by [email protected]
on 12 Jul 2008 at 2:12
- Changed state: Accepted
from s3backer.
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.
Looks good! Thanks!
Original comment by [email protected]
on 15 Jul 2008 at 2:48
from s3backer.
Original comment by [email protected]
on 15 Jul 2008 at 3:03
- Changed state: Verified
from s3backer.
Related Issues (20)
- block cache flush and synchronous umount (with fuse) HOT 3
- too many time_wait socket when writing to a newly created disk HOT 1
- [enhancement] make holes in cache file for zero blocks with fallocate HOT 8
- [enhancement] zero_cache should write a full block when writing into all-zero block, thus avoiding read-modify-write cycle HOT 3
- [nbd] s3backer isn't creating the /dev/nbdX device HOT 9
- zero_block_cache_size incorrect in stats file HOT 4
- Feature requests changing encryption password HOT 3
- s3backer seems to not work with Swift - special parameters needed? HOT 2
- Question: How to use s3backer with a GCS bucket? HOT 13
- Feature Request: DEBs and RPMs built by github actions when tagging a release HOT 1
- error zeroing blocks: Success HOT 17
- Error 403 leads to I/O errors, no retry is attempted HOT 83
- Upgrade from 1.4.3 HOT 4
- Current time is not updated when a HTTP request is retried HOT 15
- nbdclient fails to connect HOT 4
- Current state of NBD HOT 1
- Please update wiki for nbd HOT 3
- s3backer-nbd does not create /run/s3backer-nbd directory HOT 3
- Timeout on systemctl stop s3backer-nbd.service HOT 6
- Retaining multiple versions of blocks when used with B2 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3backer.