Project

General

Profile

Actions

Feature #2226

closed

osd: better filestore idempotency test

Added by Sage Weil about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
OSD
Target version:
% Done:

100%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

- generate a pseudorandom sequence of operations that are non-idempotent
  - collection_move
  - long sequences of transactions that create object, modify it, and then move into place
  - clone
  etc.
- instrument a bunch of failure injection points in filestore.  these should include
  - before and after any random op
  - in the midst of the "interesting" ops that set a guard (e.g., collection_move)
- tester
  - run a sequence
  - inject a failure
  - restart and replay journal
  - compare state to a parallel instance (another FileStore instance in another directory) that runs sequence to same position but without a failure
  - either continue to the next failure, or start over and repeat

Subtasks 4 (0 open4 closed)

Subtask #2235: generate deterministic sequence of transactions (5)Resolved04/04/2012

Actions
Subtask #2236: filestore failure injection (3)Resolved04/04/2012

Actions
Subtask #2237: failure+replay tester (8)Resolved04/04/2012

Actions
Subtask #2249: teuthology task (3)Resolved04/04/2012

Actions
Actions

Also available in: Atom PDF