Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ds): separate batch storage API into prepare / store #12751

Closed
wants to merge 1 commit into from

Conversation

keynslug
Copy link
Contributor

@keynslug keynslug commented Mar 20, 2024

Fixes EMQX-11979.

Summary

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Added property-based tests for code which performs user input validation
  • Changed lines covered in coverage report
  • Change log has been added to changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • Created PR to emqx-docs if documentation update is required, or link to a follow-up jira ticket
  • Schema changes are backward compatible

-callback prepare_batch(shard_id(), _Data, message_batch()) ->
storage_batch().

-callback store_batch(shard_id(), _Data, storage_batch(), emqx_ds:message_store_opts()) ->
Copy link
Member

Choose a reason for hiding this comment

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

store -> commit?

@ieQu1
Copy link
Member

ieQu1 commented May 15, 2024

Fixed by #12914

@ieQu1 ieQu1 closed this May 15, 2024
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.

None yet

2 participants