You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce number of Gax related threads, likely by providing common executor to GAX clients #21368
John, assigning to you to prioritize since this could be hit by users when using various I/O connectors (for example, BigQueryIO sink with the STORAGE_WRITE_API mode).
Is there any documentation on where we use GAX, or a pointer to a design pattern for this?
I'm not sure about documentation. My understanding from offline discussion with @lukecwik, is that gax-java is used by grpc-java which is used by Google client libraries used by various GCP IOs. The client libraries generally have ways to specify an executor that would allow us to specify a shared one. See here for an example in the Spanner client.
Activity
chamikaramj commentedon Aug 23, 2022
John, assigning to you to prioritize since this could be hit by users when using various I/O connectors (for example, BigQueryIO sink with the STORAGE_WRITE_API mode).
TheNeuralBit commentedon Aug 23, 2022
IIUC the appropriate fix is to adjust client libraries used in various IOs to use a shared channel (@lukecwik can advise).
reuvenlax commentedon Aug 23, 2022
I thought that the main bug had already been fixed.
johnjcasey commentedon Aug 24, 2022
Is there any documentation on where we use GAX, or a pointer to a design pattern for this?
chamikaramj commentedon Aug 24, 2022
@reuvenlax do you have a link to the fix ?
also ccing @scwhittle who filed the original issue.
TheNeuralBit commentedon Aug 24, 2022
@reuvenlax maybe you're thinking of #16619 which fixed a different thread explosion in
RetryManager?TheNeuralBit commentedon Aug 24, 2022
I'm not sure about documentation. My understanding from offline discussion with @lukecwik, is that gax-java is used by grpc-java which is used by Google client libraries used by various GCP IOs. The client libraries generally have ways to specify an executor that would allow us to specify a shared one. See here for an example in the Spanner client.
52 remaining items
johnjcasey commentedon Oct 26, 2022
looks like the roll forward was partial. @chamikaramj here is the cherry pick #23854
chamikaramj commentedon Oct 26, 2022
Thanks. Merged the cherry-pick.
Removing this from the 2.43.0 milestone.
reuvenlax commentedon Oct 26, 2022
kennknowles commentedon Dec 7, 2022
Any update on this? Given that it appears to be not data loss or total loss of functionality I am downgrading to P2.
johnjcasey commentedon Dec 9, 2022
agreed. The underlying gax library has been updated, so when that is released we can re-implement the fix
[apache#21368] Clean-up and use the FixedExecutorProvider
[#21368] Clean-up and use the FixedExecutorProvider (#24952)
Pr branch (#60)
amiyalenka commentedon Feb 6, 2023
Is this GAX Thread issue been resolved? If yes, which version having this fix?
lukecwik commentedon Feb 6, 2023
2.45.0 as per milestone marking on issue