Repository navigation
🐛 [On call / 171] Source Salesforce: fixed the bug when Bulk fetch took all memory of kube pods - #11692
Conversation
Bulk fetch took all memory of kube pods.Bulk fetch took all memory of kube pods
Codecov Report
@@ Coverage Diff @@
## master #11692 +/- ##
=========================================
Coverage ? 88.11%
=========================================
Files ? 7
Lines ? 547
Branches ? 0
=========================================
Hits ? 482
Misses ? 65
Partials ? 0 Continue to review full report at Codecov.
|
|
/test connector=connectors/source-salesforce
|
|
I have added in really I still cannot see any difference |
|
Can we adjust this test to use all memory in the system available? Let’s say 10gb file?
…________________________________
From: Serhii Chvaliuk ***@***.***>
Sent: Tuesday, April 5, 2022 11:16:11 PM
To: airbytehq/airbyte ***@***.***>
Cc: Baz ***@***.***>; Assign ***@***.***>
Subject: Re: [airbytehq/airbyte] 🐛 [On call / 171] Source Salesforce: fixed the bug when `Bulk` fetch took all memory of kube pods (PR #11692)
I have added unit_tests/test_memory.py file PLEASE REMOVE !!!
in really I still cannot see any difference
git checkout bazrnov/171-source-salesforce-oom-issue
pytest -s unit_tests/test_memory.py
first_size = 0.10 Mb, first_peak = 16.71 Mb
git checkout master
pytest -s unit_tests/test_memory.py
first_size = 0.10 Mb, first_peak = 16.71 Mb
—
Reply to this email directly, view it on GitHub<#11692 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFPMHGRF7R3I2XXWH7NG24DVDSNQXANCNFSM5SPH4HPA>.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
…salesforce-oom-issue
…salesforce-oom-issue
2885769 to
804b5f1
Compare
|
/test connector=connectors/source-salesforce
|
Alexandre Girard (girarda)
left a comment
There was a problem hiding this comment.
small question around the TmpFileIOError's constructor, but looks good otherwise
|
/publish connector=connectors/source-salesforce
|
cb15d1c to
8ce95f5
Compare
…took all memory of kube pods (#11692)
What
Resolving: https://github.com/airbytehq/oncall/issues/171
How
download_datamethod to write the response by chunks into tmp fileread_with_chunksmethod to read the data from tmp file by chunks (lines)test_memoryunit_test to cover the caseDockerfileto support native installation ofpandasandnumpyframeworks🚨 User Impact 🚨
No impact expected.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
./gradlew :airbyte-integrations:connectors:<name>:integrationTest.docs/integrations/<source or destination>/<name>.mdincluding changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>command is passing/publishcommand described here