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

rgw: fix objects can not be displayed which object name does not cont… #5738

Merged
merged 1 commit into from Nov 3, 2015

Conversation

Projects
None yet
4 participants
@dwj192
Copy link
Contributor

dwj192 commented Sep 1, 2015

objects can not be displayed which object name does not contain '.' when get the bucket index.

There is those obj in bucket bkt-test:

ceph-master.zip
ceph-test
ceph_0.94.2-1.tar.gz
rm
rm.sh

// get the bucket index use Admin Ops API

./s3curl.pl --id=personal  -- http://node110/admin/bucket?index\&bucket=bkt-test
[
    "_multipart_ceph-master.zip",
    "_multipart_ceph_0.94.2-1.tar.gz",
    "_multipart_rm.sh"
]

// check bucket

radosgw-admin bucket check --bucket=bkt-test`
[
    "_multipart_ceph-master.zip",
    "_multipart_ceph_0.94.2-1.tar.gz",
    "_multipart_rm.sh"
]

Signed-off-by: Weijun Duan duanweijun@h3c.com

@smithfarm smithfarm added the rgw label Sep 5, 2015

@smithfarm

This comment has been minimized.

Copy link
Contributor

smithfarm commented Sep 5, 2015

Should this be backported? If so, it needs a tracker issue.

@dwj192

This comment has been minimized.

Copy link
Contributor Author

dwj192 commented Sep 5, 2015

@smithfarm smithfarm added the bug fix label Sep 5, 2015

@smithfarm

This comment has been minimized.

Copy link
Contributor

smithfarm commented Sep 5, 2015

When this is merged, please update the "Backport" field in http://tracker.ceph.com/issues/12963 and set the issue status to "Pending Backport". Thanks!

@dwj192

This comment has been minimized.

Copy link
Contributor Author

dwj192 commented Sep 7, 2015

object's name xxx.xxx xxx
swfit ok ok
s3/admin ok ok
radosgw-admin ok ok
object's bucket index xxx.xxx xxx
swfit - -
s3/admin ok failed
radosgw-admin ok failed
objects can not be displayed which object name does not contain '.' w…
…hen get the bucket index.

Fixes: #12963

Signed-off-by: Weijun Duan <duanweijun@h3c.com>

@dwj192 dwj192 force-pushed the dwj192:dwj192_bkt_index branch from 01db6d4 to 19a191e Sep 9, 2015

yehudasa added a commit that referenced this pull request Nov 3, 2015

Merge pull request #5738 from dwj192/dwj192_bkt_index
rgw: fix objects can not be displayed which object name does not cont…

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>

@yehudasa yehudasa merged commit 8fed458 into ceph:master Nov 3, 2015

@dwj192 dwj192 deleted the dwj192:dwj192_bkt_index branch Nov 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.