Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple copy (with cp) creates two versions on a versioned bucket #5

Closed
henningpeters opened this issue Mar 13, 2013 · 0 comments
Closed
Assignees
Labels

Comments

@henningpeters
Copy link
Contributor

  1. make sure you try this on a cover with versioning enabled

  2. copy a file with cp into the bucket

  3. check with following python/boto script the versions that were created

{{{
from boto.s3.connection import S3Connection
conn = S3Connection(ID, KEY)
b = conn.get_bucket(BUCKET)
for i in b.list_versions(prefix=FILENAME):
print i.name, i.version_id, i.size
}}}

=> only one should be there, but there a two per copy

=> looking at the strace log there is only one pair of open/close syscalls

@ghost ghost assigned wizzard Mar 14, 2013
@sunxm sunxm mentioned this issue Oct 27, 2014
ThePythonicCow added a commit to ThePythonicCow/riofs that referenced this issue Jan 13, 2017
This patch removes the second no longer used consistency
checking method from fileio_read_on_head_cb(), along with
what seems to be a substantial amount of no longer used
supporting code.
ThePythonicCow added a commit to ThePythonicCow/riofs that referenced this issue Jan 14, 2017
This patch removes the second no longer used consistency
checking method from fileio_read_on_head_cb(), along with
what seems to be a substantial amount of no longer used
supporting code.
ThePythonicCow added a commit to ThePythonicCow/riofs that referenced this issue Jan 15, 2017
This patch removes the second no longer used consistency
checking method from fileio_read_on_head_cb(), along with
what seems to be a substantial amount of no longer used
supporting code.
ThePythonicCow added a commit to ThePythonicCow/riofs that referenced this issue Jan 15, 2017
This patch removes the second no longer used consistency
checking method from fileio_read_on_head_cb(), along with
what seems to be a substantial amount of no longer used
supporting code.
ThePythonicCow added a commit to ThePythonicCow/riofs that referenced this issue Jan 15, 2017
This patch removes the second no longer used consistency
checking method from fileio_read_on_head_cb(), along with
what seems to be a substantial amount of no longer used
supporting code.
ThePythonicCow added a commit to ThePythonicCow/riofs that referenced this issue Jan 15, 2017
This patch removes the second no longer used consistency
checking method from fileio_read_on_head_cb(), along with
what seems to be a substantial amount of no longer used
supporting code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants