-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend optimization to overlapping inserts
Prior to this commit, we would copy MCAP bytes directly to storage if we were merging one leaf into an empty destination leaf. Now we will do the same even if there's a nonempty destination, as long as there are no overlaps in the timestamp/sequence pairs of the destination and the new data. Further, when there is duplication/overlap, we would previously read MCAP messages out of the destination leaf to compare against. This commit now takes advantage of the message keys in the header instead of reading those messages, making the additional overhead of deduplicating roughly invariant with respect to message size.
- Loading branch information
Showing
6 changed files
with
233 additions
and
83 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.