basho/riak_cs — pull request #512 by shino (2013-03-28 16:22:33+00:00)
Title: Old object shows up after delete the latest

```
$ git show --decorate | head -6
commit 41c81d4f10c59034ae1ba22ec5a4af1b303efb91 (HEAD, origin/develop, origin/HEAD, develop)
Merge: ff790c2 c404aa1
Author: Kelly McLaughlin
Date: Thu Mar 21 09:46:21 2013 -0600

Merge branch 'feature/configurable-pb-connect-timeout' into develop
```

First, put twice:

```
$ s3cmd la

$ echo "OLD" > data.local/1
$ s3cmd put data.local/1 s3://test
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
data.local/1 -> s3://test/1 [1 of 1]
4 of 4 100% in 0s 286.16 B/s done
$ s3cmd get s3://test/1 -
s3://test/1 -> [1 of 1]
OLD
4 of 4 100% in 0s 216.59 B/s done
$ echo "NEW" > data.local/1
$ s3cmd put data.local/1 s3://test
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
data.local/1 -> s3://test/1 [1 of 1]
4 of 4 100% in 0s 230.60 B/s done
$ s3cmd get s3://test/1 -
s3://test/1 -> [1 of 1]
NEW
4 of 4 100% in 0s 236.07 B/s done
```

After del it, old object shows up:

```
$ s3cmd del s3://test/1
File s3://test/1 deleted
$ s3cmd get s3://test/1 -
s3://test/1 -> [1 of 1]
OLD
4 of 4 100% in 0s 413.61 B/s done
```

One more del, object disappears:

```
$ s3cmd del s3://test/1
File s3://test/1 deleted
$ s3cmd la

```