Stream Error Truncation Mechanism #7871
Labels
good first issue
Good for newcomers
help wanted
Issues that need help from contributors
type/feature
Milestone
A truncation strategy can be:
TARGET_NUM
Objective: choose at most
TARGET_NUM
prefixes such:Example 1: No common prefix. Prefixes found: all the elements, then "" after reaching capacity.
Example 2:
Data structure: prefix tree with e.g. 15 unique prefixes.
When a new error string arrives, if the capacity is not filled, we add it to the prefix tree. If the capacity is filled and we have a new value:
When we cannot accept new non-empty entries to the prefix tree (every prefix is unique), we will simply truncate the incoming message entirely.
The text was updated successfully, but these errors were encountered: