Project

General

Profile

Actions

Feature #11174

open

An MDS-specific assert that dumps cache state

Added by John Spray about 9 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Introspection/Control
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

There are a ton of places where we assert certain thing are consistent within the MDCache+MDLog+etc state. Asserting is a good thing, but we could leave more useful stuff around than a stack trace. Things like:

  • an MDCache dump
  • an OpTracker ops in flight dump
  • a clog() message
  • a message to MDSMonitor to indicate our failure so that nobody has to wait for us to go laggy

This mechanism would not replace normal assertions for things like validity of pointers or iterators, as once those are violated we can no longer safely traverse any of our internal data structures.

Actions #1

Updated by John Spray about 9 years ago

  • Description updated (diff)
Actions #2

Updated by Greg Farnum almost 8 years ago

  • Category changed from 47 to Introspection/Control
Actions

Also available in: Atom PDF