-
Notifications
You must be signed in to change notification settings - Fork 322
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
chore: generateTransformationMessage is its own concurrent step #5449
base: master
Are you sure you want to change the base?
chore: generateTransformationMessage is its own concurrent step #5449
Conversation
727f6dc
to
eb3998c
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5449 +/- ##
==========================================
+ Coverage 74.84% 74.90% +0.05%
==========================================
Files 440 440
Lines 61425 61434 +9
==========================================
+ Hits 45974 46016 +42
+ Misses 12916 12892 -24
+ Partials 2535 2526 -9 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me.
hasMore: false, | ||
rsourcesStats: rsourcesStats, | ||
}) | ||
transMessage, err = proc.generateTransformationMessage(proc.processJobsForDest( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not related to this PR. but there's a possibility of duplicate persistence of jobs in events schema and archival?
@@ -1734,7 +1734,7 @@ func (proc *Handle) processJobsForDest(partition string, subJobs subJob) (*trans | |||
for _, batchEvent := range jobList { | |||
var eventParams types.EventParams | |||
if err := jsonfast.Unmarshal(batchEvent.Parameters, &eventParams); err != nil { | |||
return nil, err | |||
panic(err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets return error from here, we can handle error at 1 place only in worker.go
Description
generateTransformationMessage is its own concurrent step.
Includes:
Linear Ticket
Resolves PIPE-1719
Security