Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Bug fixes for full sync and a few other data sync cases #13

Merged
merged 15 commits into from Dec 8, 2014

Conversation

jdurgin
Copy link
Member

@jdurgin jdurgin commented Dec 6, 2014

This passes the data sync tests that are updated to
handle full sync now.

Alfredo Deza and others added 15 commits November 19, 2014 15:27
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
…region() works

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
…is not found

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
The decorator for translating boto exceptions needs to return
explicitly, or it will lose the return value of the original function,
and cause full sync to fail for objects that aren't in the bucket
index log.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
This way we catch objects that were uploaded before zones or data logs
were set up. If there are actually no objects in the bucket, the
bucket listing will tell us that.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Need to esacpe the x-amz-copy-source header.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
We still want to retry later, since 500 could be the gateway timing
out, or it being upgraded to fix a bug, etc.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
There's a very narrow window in which our connection sending the copy
request could fail before radosgw records the op state, and we query
the op state in that time. Retrying later at that point is fine, and
avoids a long timeout if there is a bug causing us to reach this point
without the op state ever being recorded. This race hasn't been
observed in practice.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
@ceph-jenkins
Copy link
Collaborator

Tests passed for this pull request.
Refer to this link for build results: http://jenkins.ceph.com/job/radosgw-agent-pull-requests/12/

@jdurgin
Copy link
Member Author

jdurgin commented Dec 6, 2014

This includes #11 as well

alfredodeza added a commit that referenced this pull request Dec 8, 2014
Bug fixes for full sync and a few other data sync cases
@alfredodeza alfredodeza merged commit a41b35f into master Dec 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants