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

kraken: rgw: fix break inside of yield in RGWFetchAllMetaCR #14067

Merged
merged 1 commit into from Jul 7, 2017

Commits on Mar 21, 2017

  1. rgw: fix break inside of yield in RGWFetchAllMetaCR

    the yield macro is implemented with for/switch, so the breaks in
    RGWFetchAllMetaCR weren't being applied to the for loop as expected -
    so any of these breaks send RGWFetchAllMetaCR into an infinite loop
    
    removed the yield {} block, so that breaks will apply to the for loop as
    intended, then added a single yield; statement to allow the
    entries_index consumer to run one per iteration
    
    Fixes: http://tracker.ceph.com/issues/17655
    
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    (cherry picked from commit 190bd38)
    cbodley authored and Alexey Sheplyakov committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    076e4b7 View commit details
    Browse the repository at this point in the history