Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Preprocess logs #4

Merged
merged 7 commits into from
Mar 5, 2019
Merged

Preprocess logs #4

merged 7 commits into from
Mar 5, 2019

Conversation

lawrencejones
Copy link
Contributor

No description provided.

This enables us to add a new command that can do filtering of logs into
a pre-processed form.
Previously we weren't deleting our item from the unbounds when we bound
it in response to detail statements. This leads to a duplication of
items that this commit tests for and fixes.
Allow preprocessing of a log file to create a logfile full of json
serialized item entries that pgreplay can more easily consume. This
should help during preprocessing while ensuring we do as little work as
possible when running our benchmarks.
This will then match our log lines, ensuring Gomega equality will pass.
Ensure we can't doubly close our channel, while guaranteeing that we
always close the channel at the earliest opportunity.
Without this, we'll leave many connections trailing during our
benchmarking. That wouldn't be great, so this commit changes it.
@lawrencejones lawrencejones merged commit 3fdd3ac into master Mar 5, 2019
@lawrencejones lawrencejones deleted the lawrence-filter-logs branch March 5, 2019 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant