Skip to content

refactor(realtime): share seal, prepare-commit, and store creation logic - #600

Open
lxy-9602 wants to merge 1 commit into
apache:mainfrom
lxy-9602:rt-refact-write
Open

lxy-9602 wants to merge 1 commit into
apache:mainfrom
lxy-9602:rt-refact-write

Conversation

@lxy-9602

Copy link
Copy Markdown
Member

Purpose

Linked issue: #158

Extract shared Seal, PrepareCommit, and store creation logic into RealtimeWriter. Keep mode-specific write and flush behavior in the append-only, primary-key, and deduplicate writers.

Keep mode-specific writing, flushing, and commit assembly in the concrete writers, including deduplicate freeze behavior. Preserve existing locking, spill decisions, error messages, and failure handling.

Tests

No test changes. Existing realtime integration tests cover the affected behavior.

API and Format

No public API or storage format changes.

Documentation

Not needed for this internal refactor.

Generative AI tooling

Generated-by: OpenAI Codex (GPT-6)

@zjw1111 zjw1111 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants