-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This change implements the feature for TraceFileStream to parse the trace line (i.e., setNextLine) and allow the replay generator to retrieve the field with the field ID (i.e., getField) later on. In order to support this, the replay generator provides the column names to field ID mapping table when constructing the TraceFileStream. This change also modifies the KVReplayGenerator to apply the new feature. With this change the memcached traces can be shared in any format in forward compatible manner as long as the appropriate header line is specified. This change also adds an unit test to verify the new format and backward compatibility. This change discards (most if not all) and reimplements D41403750. Reviewed By: therealgymmy Differential Revision: D46456693 fbshipit-source-id: d5b044816675127a740b20f62bba0563f3079916
- Loading branch information
1 parent
f101577
commit d8577df
Showing
4 changed files
with
292 additions
and
117 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
Oops, something went wrong.