refactor streamsink and enhance StorageRandom.cpp#1057
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This commit introduces the StreamSinkBase class, which provides a foundation for managing data ingestion in a streaming context. It includes methods for consuming chunks of data, handling retries, and checkpointing. The StreamSink class is updated to inherit from StreamSinkBase, streamlining its implementation and enhancing code organization. This change lays the groundwork for improved data processing capabilities in the streaming architecture.
05a3255 to
367e86d
Compare
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
failed case |
PR checklist:
proton: starts/endsfor new code in existing community code base ?Please write user-readable short description of the changes:
see
void StreamSinkBase::checkpoint(CheckpointContextPtr ckpt_ctx)