-
Notifications
You must be signed in to change notification settings - Fork 21
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
Internal refactoring and modernization #720
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add a BatchingStream for batching elements into arrays * Add a SplittingStream for flat-mapping a batch back to elements * Add a MappingStream for mapping stream elements to something else * Add tests for the above
Co-authored-by: Esteban Laver <[email protected]>
Update to use new follower based spoolchanges. Use httpServer instead of nock for long running tests with lots of changes requests because nock appears to leak memory in those situations. Co-authored-by: Esteban Laver <[email protected]>
Signed-off-by: Esteban Laver <[email protected]>
Also reduce the amount buffered in memory at once.
Use a Duplex implementation instead of a trasnform. Allow batching and rebatching (eliminate SplittingStream).
Override the default temporarily when we create mapping streams.
Signed-off-by: Esteban Laver <[email protected]>
Signed-off-by: Esteban Laver <[email protected]>
Co-authored-by: Rich Ellis <[email protected]> Signed-off-by: Esteban Laver <[email protected]>
This ensures tests aren't always using line 0. Signed-off-by: Esteban Laver <[email protected]>
Co-authored-by: Rich Ellis <[email protected]> Signed-off-by: Esteban Laver <[email protected]>
Co-authored-by: Rich Ellis <[email protected]> Signed-off-by: Esteban Laver <[email protected]>
* use JSON object for restore marker Co-authored-by: Rich Ellis <[email protected]> Signed-off-by: Esteban Laver <[email protected]>
In an error scenario we might get multiple promise rejections, but we only want to assert the backup or restore promise. In success cases we should check all the promises to ensure we aren't masking errors.
Signed-off-by: Esteban Laver <[email protected]>
…rning Signed-off-by: Esteban Laver <[email protected]>
ricellis
force-pushed
the
modernization
branch
from
February 15, 2024 14:02
9c919c7
to
33c3a6b
Compare
emlaver
approved these changes
Feb 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
CHANGES.md
) or test/build only changesDescription
Merge
modernization
branch tomain
.Fixes i320
Approach
The work has previously been reviewed in: #643 #650 #652 #658 #659 #660 #663 #668 #669 #670 #671 #672 #673 #676 #677 #678 #679 #682 #691 #692 #695 #696 #698 #702 #706 #708 #711
The only additional changes in this PR are from rebasing on
main
and cleaning uppackage-lock.json
time
inrestored
API events and CLI output.async
module.tmp
module.--buffer-size
has no effect with--resume
.Schema & API Changes
time
inrestored
API events and CLI output.Security and Privacy
Testing
Monitoring and Logging