forked from pixie-io/pixie
-
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.
[Fix CQL Sticher 3/4] Populate map of streams to frames during parsing (
pixie-io#1716) Summary: Modifies all protocol parsers to use a map of streams to deques by default. Protocols which do not have a notion of streams are encoded as single keys in a map. This completes the CQL stitcher fix and should simplify stitching frames for protocols with streams. The final PR in this sequence pixie-io#1732 populates a map of streamIDs to deque of frames in ParseFramesLoop instead of ParseFrames. This should provide a small efficiency boost, as we won't have to loop over the frames twice. Related issues: Closes pixie-io#1375 Type of change: /kind bug Test Plan: Updated parsing tests to use new interface. `Note`: this PR relies on changes introduced in pixie-io#1689 and pixie-io#1715 --------- Signed-off-by: Benjamin Kilimnik <bkilimnik@pixielabs.ai>
- Loading branch information
1 parent
8173a07
commit e04a764
Showing
23 changed files
with
296 additions
and
230 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.