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

osd/PrimaryLogPG: send requests to primary on cache miss #16884

Merged
merged 2 commits into from
Sep 30, 2017

Commits on Sep 15, 2017

  1. osd/PrimaryLogPG: send requests to primary on cache miss

    If a client has {BALANCE,LOCALIZE}_READS and sends a request to a
    replica, but the object isn't in the cache, send them back to the
    primary.  Otherwise we might do something rash (like trigger a
    promotion from a replica).
    
    Fixes: http://tracker.ceph.com/issues/20919
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    741a872 View commit details
    Browse the repository at this point in the history
  2. osd/PrimaryLogPG: move cache_mode==none check to top

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    5a26ac4 View commit details
    Browse the repository at this point in the history