Code Monkey home page Code Monkey logo

Comments (3)

ChrisCinelli avatar ChrisCinelli commented on July 24, 2024

If the $uri parameter start with "/" (Ex: '/var/www/js/myfile.js') the putObject return true as the file was successful uploaded but the file is not in the bucket anywhere.
Obviously that is a bug if somebody passes that as $uri but I would expect an error/exception

from amazon-s3-php-class.

acpadhi avatar acpadhi commented on July 24, 2024

Any update on this ? I have also noticed this happening.

It has started happening more frequently since last 1 or 2 months.

Case Scenario :
The putObject returns true, and the files that were attempted to be uploaded/updated do not contain the changes if checked later. Anything related to eventual consistency limitations ?

from amazon-s3-php-class.

acpadhi avatar acpadhi commented on July 24, 2024

Anyone has any updates on this ? This is such a Nasty issue, that I had to physically write an additional CRON(that runs after a few minutes) to verify this class did what it is supposed to be doing.

I have read elsewhere in forums that, quite a few times, S3 writes can fail(pretty bad I must say), but what is of concern is when we do not get an acknowledgement that it failed. This class gives a TRUE status(more frequently recently) even though the file did not make through successfully.

Please note that this trouble was not very frequent in the past. It has been happening more frequently since last one month or so.

The CRON I wrote to cross verify afterwards, did report that there have been instances where, the same file was reported to be succesfully put into S3 with a TRUE boolean status return. However, the same file was never uploaded successfully. The nature of the verification CRON is to keep retrying uploading the same item until it finally succeeds in verifying the write was successful. And it has reported in at least one such instance, where it has tried at least 3 times before the file could successfully be written and verified.

Unless this issue is resolved, this class can be pretty unreliable to be used.

from amazon-s3-php-class.

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.