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

♻️ [RUM-253] refactor batch creation #2390

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Aug 25, 2023

Motivation

Currently, we create Batch instances in two places: startBatchWithReplica and startRumBatch. As I'm planning to change how Batch works, in order to avoid repeating myself, this PR factorize the two functions.

Changes

  • add missing features to startBatchWithReplica (upsert + transform replica message)
  • use startBatchWithReplica in startRumBatch
  • add some tests around startBatchWithReplica

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner August 25, 2023 08:30
@BenoitZugmeyer
Copy link
Member Author

/to-staging

@dd-devflow
Copy link
Contributor

dd-devflow bot commented Aug 25, 2023

🚂 Branch Integration: starting soon, merge in < 8m

commit 11a3d7781b will soon be integrated into staging-34.

This build is going to start soon! (estimated merge in less than 8m)

you can cancel this operation by commenting your pull request with /to-staging -c!

@dd-devflow
Copy link
Contributor

dd-devflow bot commented Aug 25, 2023

🚂 Branch Integration: this commit was successfully integrated

Commit 11a3d7781b has been merged into staging-34 in merge commit b7b2eb885c.

Check out the triggered pipeline on Gitlab 🦊

Co-authored-by: Bastien Caudan <1331991+bcaudan@users.noreply.github.com>
@BenoitZugmeyer BenoitZugmeyer merged commit 9e3ee08 into main Aug 28, 2023
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/compression--refactor-batch-creation branch August 28, 2023 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants