Skip to content

6.x Ingest node back ports #34653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Conversation

jakelandis
Copy link
Contributor

@jakelandis jakelandis commented Oct 19, 2018

Ingest node 6.x back ports for:

correctly measure chained pipeline stats (#33912)
support simulate with verbose for pipeline processor (#33839)
Allow Repeated Invocation of Pipeline (#33419)

All cherry-picked with only 1 minor conflict.

PR only to run CI prior to merge.

@jakelandis jakelandis force-pushed the ingest_back_ports branch 2 times, most recently from c3e252b to 7eac0aa Compare October 21, 2018 01:54
original-brownbear and others added 3 commits October 21, 2018 10:59
* Allows repeated, non-recursive invocation
of the same pipeline
…#33839)

* ingest: support simulate with verbose for pipeline processor

This change better supports the use of simulate?verbose with the
pipeline processor. Prior to this change any pipeline processors
executed with simulate?verbose would not show all intermediate 
processors for the inner pipelines.

This changes also moves the PipelineProcess and TrackingResultProcessor
classes to enable instance checks and to avoid overly public classes.
As well this updates the error message for when cycles are detected
in pipelines calling other pipelines.
Prior to this change when a pipeline processor called another
pipeline, only the stats for the first processor were recorded.
The stats for the subsequent pipelines were ignored. This change
properly accounts for pipelines irregardless if they are the first
or subsequently called pipelines.

This change moves the state of the stats from the IngestService
to the pipeline itself. Cluster updates are safe since the pipelines
map is atomically swapped, and if a cluster update happens
while iterating over stats (now read directly from the pipeline)
a slightly stale view of stats may be shown.
@jakelandis jakelandis force-pushed the ingest_back_ports branch 2 times, most recently from a191cf1 to 4adcd77 Compare October 21, 2018 21:10
@jakelandis
Copy link
Contributor Author

3 commits ran to success both locally and via ci. Closing PR and pushing manually (don't want to squash the commits).

@jakelandis jakelandis closed this Oct 22, 2018
@jakelandis
Copy link
Contributor Author

3 commits ran to success both locally and via ci. Closing PR and pushing manually (don't want to squash the commits).

1 similar comment
@jakelandis
Copy link
Contributor Author

3 commits ran to success both locally and via ci. Closing PR and pushing manually (don't want to squash the commits).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants