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: cloud sync fixes #21648

Merged
merged 6 commits into from May 1, 2018
Merged

rgw: cloud sync fixes #21648

merged 6 commits into from May 1, 2018

Conversation

yehudasa
Copy link
Member

  • aws compatibility fixes (header was sent twice)
  • fix busy loop when dealing with asymmetric splice (writes slower than reads)
  • fix splice handling of remote end shutdown in middle of operation
  • cloud sync, when uploading using multipart upload, set attributes on the multipart create operation (and related refactoring)
  • cancel http requests used in splice when deleting cr(f)s (fixes a crash)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Just send a notification to the writer once we passed a threshold. With
a slow writer we'd wake it up continuously while it's waiting for
the data to flush.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Some cleanup around the rest client, and fix cloud sync code to
send the meta attributes to the remote endpoint. Earlier we didn't
do it correctly when dealing with sync that uses multipart upload.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Beside fixing a leak, this also cancels the pending request and
any future callback (that would crash). Updated the interface
to allow explicit request cancellation.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
@yehudasa yehudasa requested a review from cbodley April 25, 2018 16:12
@liewegas liewegas added this to the mimic milestone Apr 25, 2018
@yuriw
Copy link
Contributor

yuriw commented Apr 30, 2018

@yuriw yuriw merged commit 1d2b8b8 into ceph:master May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants