Skip to main content

Flush Pipeline

The complete sequence from frozen memtable to durable S3 state.

Flow

Loading diagram...

Failure Modes

Crash PointS3 StateRecovery
During buildUnchangedWAL replay rebuilds memtable
During uploadIncomplete multipartS3 lifecycle aborts it. WAL replay.
During CASSSTable on S3, not in manifestOrphan GC deletes it. WAL replay.
After CAS, before WAL cleanupManifest updated, WAL intactWAL replay is idempotent

The WAL is the safety net. The manifest CAS is the commit point.