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

Make SchemaBatch::merge public and DB::write_schemas borrow SchemaBatch #4

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

citizen-stig
Copy link
Member

@citizen-stig citizen-stig commented Apr 30, 2024

This PR prepares rockbound for future change in Storage sub-system.

  • SchemaBatch::merge becomes public, so users can collapse 2 changes together.
  • DB::write_schemas borrows, so it can be called with Arc<SchemaBatch>

Test for SchemaBatch::merge is added

@citizen-stig citizen-stig changed the title Make SchemaBatch::merge public and ` Make SchemaBatch::merge public and DB::write_schemas borrow SchemaBatch Apr 30, 2024
@citizen-stig citizen-stig requested a review from neysofu April 30, 2024 16:58
@citizen-stig citizen-stig marked this pull request as ready for review April 30, 2024 16:58
@citizen-stig citizen-stig merged commit b224c28 into main Apr 30, 2024
4 checks passed
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