-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
🐛 Source Bigcommerce: fix infinite loop in Page stream #14940
🐛 Source Bigcommerce: fix infinite loop in Page stream #14940
Conversation
Hey thanks for the contribution can you check this doc https://docs.airbyte.io/connector-development#updating-an-existing-connector and do the needful |
I think I've already done the viable parts within my privileges. Would you mind specifying if there's anything missing? |
/test connector=connectors/source-bigcommerce
Build FailedTest summary info:
|
/test connector=connectors/source-bigcommerce
Build FailedTest summary info:
|
/test connector=connectors/source-bigcommerce
Build FailedTest summary info:
|
/test connector=connectors/source-bigcommerce
Build PassedTest summary info:
|
…ianhaoZhang/airbyte into fix-bigcommerce-pagestream-termination
/test connector=connectors/source-bigcommerce
Build PassedTest summary info:
|
/publish connector=connectors/source-bigcommerce
if you have connectors that successfully published but failed definition generation, follow step 4 here |
* fix(source-bigcommerce): infinite loop by overloaded request_params() in class Page * bump connector version to 0.1.6 in Dockerfile * update docs/integrations/sources/bigcommerce.md * fix: tests are failing * docs: updated connector definitions * auto-bump connector version [ci skip] Co-authored-by: Harshith Mullapudi <harshithmullapudi@gmail.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
What
Describe what the change is solving
When syncing the Bigcommerce source connector, the Page stream is stucked at first page and loops indefinitely.
Related issue: #14861
How
Describe the solution
It seems that the overriding request_params() in Class Page is blocking the stream reading by not passing next_page_token.
Remove the override request_params() function and use the inherited request_params() from Class IncrementalBigcommerceStream will solve the issue.
Recommended reading order
🚨 User Impact 🚨
It shouldn't break anything. Instead the bug to be fixed could eat up too much memory and throttle the hosting machine if deployment is not defensively configured.
Pre-merge Checklist
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including 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/publish
command described here