Skip to content

fix: Close Transformers pipeline on both source and destination closes#19105

Merged
kodiakhq[bot] merged 4 commits intomainfrom
fix/transformers-deadlock
Sep 6, 2024
Merged

fix: Close Transformers pipeline on both source and destination closes#19105
kodiakhq[bot] merged 4 commits intomainfrom
fix/transformers-deadlock

Conversation

@murarustefaan
Copy link
Copy Markdown
Member

No description provided.

@murarustefaan murarustefaan requested review from a team, erezrokah and marianogappa and removed request for a team September 6, 2024 11:28
@cq-bot cq-bot added the area/cli label Sep 6, 2024
Copy link
Copy Markdown
Member

@disq disq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Human linting :)

@murarustefaan murarustefaan requested a review from disq September 6, 2024 11:33

// Close the first transformer. The rest will follow gracefully, otherwise records will be lost.
return lp.clientWrappers[0].client.CloseSend()
lp.clientWrappers[0].client.CloseSend()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
lp.clientWrappers[0].client.CloseSend()
_ = lp.clientWrappers[0].client.CloseSend()

You might need this to tell the linter you're ignoring the error from CloseSend()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But you can ignore this if the linter passes

@murarustefaan murarustefaan added the automerge Automatically merge once required checks pass label Sep 6, 2024
@kodiakhq kodiakhq bot merged commit 25682d6 into main Sep 6, 2024
@kodiakhq kodiakhq bot deleted the fix/transformers-deadlock branch September 6, 2024 12:36
kodiakhq bot pushed a commit that referenced this pull request Sep 6, 2024
🤖 I have created a release *beep* *boop*
---


## [6.6.2](cli-v6.6.1...cli-v6.6.2) (2024-09-06)


### Bug Fixes

* Close Transformers pipeline on both source and destination closes ([#19105](#19105)) ([25682d6](25682d6))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants