Project

General

Profile

Actions

Bug #218

closed

fix estale handling to look at auth cap migrate_seq

Added by Sage Weil almost 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Actions #1

Updated by Greg Farnum almost 14 years ago

  • Status changed from New to In Progress
  • Assignee set to Greg Farnum
Actions #2

Updated by Greg Farnum almost 14 years ago

This is taking more time than I expected since I'm running into some other issues with my test case. I think I have it but am going to wait for a review.

Actions #3

Updated by Greg Farnum almost 14 years ago

  • Status changed from In Progress to Resolved

Should be fixed in bc863c3207c216fb245fda06cd6bf19c6940ad0e. Instead of maintaing a count of stale replies, it switches the request to go to the auth mds, and if it already was it looks to see if the auth mds might have changed by comparing the previous mds' caps to the current auth caps on the inode, then (if they've changed) sends back. Otherwise, or if there is no inode, it just returns the ESTALE.
Since this is timing-dependent it's hard to test but I haven't seen ESTALE in repeated tests that were pretty good at returning them to me.

Actions

Also available in: Atom PDF