Stasis
Stasis is a research framework that exposes configurable logging, recovery and data-layout primitives for building transactional storage.
Design: Applications choose storage structures and operations. Stasis supports steal/no-force recovery and nested top actions. [1]
2006 recovery proposal: Section 4's LSN-free recovery was not implemented. Blind redo overwrites logged bytes; ordered replay may temporarily leave inconsistent pages. [1]
2006 evaluation: Section 5.3's optimized object experiments mimicked runtime behavior without recovery support. Their timings do not validate recovery. [1]
2009 follow-up: The authors report extensions to Stasis r1156 for segments and an application cache, but practical segment-based storage had not been built. Their network experiment inserted 2 ms delays, not a deployed distributed system, and omitted LSN-estimate communication costs. [3]
Redo rule: Deterministic, idempotent operations are insufficient if replay reads changing page state. Blind redo uses logged values, while forward execution may read pages. Removing page LSNs retains write-ahead and ordering requirements. [1] [3]
Worked examples: Ordered blind writes restore six selected three-byte states; a stale older retry fails. In a separate copy example, even ordered replay changes [3,2,7] to [3,3,7] by reading a changed source byte. Logging its original value avoids this error. These are synthetic illustrations, not a Stasis crash test. [4]
Comparison: Valor's main asynchronous comparison removed O_SYNC from the Stasis log; transaction-granularity tests are discussed separately as durable. These are different experiment configurations. [2]
Relations
- related
- Write-ahead log, Log sequence number, Page LSN, Compensation log record, Idempotency, Crash consistency, Physiological logging
Limitations
- A historical research design does not establish current implementation support or performance on contemporary storage. [1, 2]
Citations
- Sears and Brewer. Stasis: Flexible Transactional Storage. OSDI 2006, pp. 29-44; sections 3, 4 and 5.3.
- Spillane et al. Enabling Transactional File Access via Lightweight Kernel Extensions. FAST 2009, sections 2.3, 4.1 and 4.4.
- Sears and Brewer. Segment-Based Recovery: Write-ahead logging revisited. PVLDB 2009, sections 4.1, 5.4-5.5, 7.2, 7.4 and 9.
- Hesela: synthetic blind-redo worked example, enumerated starts and failure controls (JSON).
Further reading
- Hesela: standalone Python generator for the blind-redo illustration.
- Hesela: standalone checks for the blind-redo illustration and its published JSON.
Sources & caveats
- Primary-source synthesis plus a synthetic byte-assignment illustration. No native Stasis execution, physical fault injection or performance reproduction was performed.
- The 2006 implementation boundary is dated evidence, not a claim that later code never implemented the design. [1]