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

jewel: rgw: don't loop forever when reading data from 0 sized segment. #11626

Merged
1 commit merged into from Oct 26, 2016

Conversation

oritwas
Copy link
Member

@oritwas oritwas commented Oct 24, 2016

http://tracker.ceph.com/issues/17693

The 0 sized segment can arise depending on how
the client uploads the object in the first place.
The cpu loop then happens during a swift `GET'.

Signed-off-by: Marcus Watts mwatts@redhat.com
(cherry picked from commit 46c5f97)

The 0 sized segment can arise depending on how
the client uploads the object in the first place.
The cpu loop then happens during a swift `GET'.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit 46c5f97)
@oritwas
Copy link
Member Author

oritwas commented Oct 24, 2016

@oritwas oritwas added this to the jewel milestone Oct 24, 2016
@oritwas oritwas changed the title Don't loop forever when reading data from 0 sized segment. Jewel: Don't loop forever when reading data from 0 sized segment. Oct 24, 2016
@oritwas
Copy link
Member Author

oritwas commented Oct 24, 2016

@ghost
Copy link

ghost commented Oct 25, 2016

jenkins test this please (jenkins slave failure)

@ghost
Copy link

ghost commented Oct 25, 2016

@oritwas the rgw run has lots of failures. Are there specific jobs showing this patch does the right thing ?

@ghost ghost changed the title Jewel: Don't loop forever when reading data from 0 sized segment. jewel: don't loop forever when reading data from 0 sized segment. Oct 25, 2016
@oritwas
Copy link
Member Author

oritwas commented Oct 25, 2016

We have valgrind errors in the teuthology run

@oritwas oritwas changed the title jewel: don't loop forever when reading data from 0 sized segment. DNM: jewel: don't loop forever when reading data from 0 sized segment. Oct 25, 2016
@ghost ghost assigned ghost and oritwas Oct 25, 2016
@ghost
Copy link

ghost commented Oct 25, 2016

@oritwas a reminder to explain in the commit message of c128e99 why it was necessary to make a jewel only commit (instead of cherry-picking commits) to resolve this issue

@oritwas
Copy link
Member Author

oritwas commented Oct 25, 2016

@dachary the extra commit is just for testing.
After verifying. I will first merge it to master and backport it here

@oritwas
Copy link
Member Author

oritwas commented Oct 26, 2016

new run on mira machine type:
http://pulpito.ceph.com/owasserm-2016-10-25_19:45:28-rgw-wip-jewel-11567---basic-mira/
the only valgrind error is for the osd

@oritwas oritwas changed the title DNM: jewel: don't loop forever when reading data from 0 sized segment. jewel: don't loop forever when reading data from 0 sized segment. Oct 26, 2016
@oritwas
Copy link
Member Author

oritwas commented Oct 26, 2016

@dachary this valgrind issue happens only on vps and happens on latest jewel: http://pulpito.ceph.com/owasserm-2016-10-26_11:19:10-rgw-jewel---basic-vps/

We can merge this fix.

@ghost ghost merged commit 7ff2c10 into jewel Oct 26, 2016
@theanalyst theanalyst changed the title jewel: don't loop forever when reading data from 0 sized segment. "jewel: rgw: don't loop forever when reading data from 0 sized segment." Nov 17, 2016
@theanalyst theanalyst changed the title "jewel: rgw: don't loop forever when reading data from 0 sized segment." jewel: rgw: don't loop forever when reading data from 0 sized segment. Nov 17, 2016
@liewegas liewegas deleted the wip-jewel-11567 branch November 23, 2016 20:14
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants