Skip to content
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-mongodb-v2] : Implement WASS algorithm #42561

Merged
merged 24 commits into from
Aug 5, 2024
Merged

[source-mongodb-v2] : Implement WASS algorithm #42561

merged 24 commits into from
Aug 5, 2024

Conversation

theyueli
Copy link
Contributor

@theyueli theyueli commented Jul 26, 2024

Fixes https://github.com/airbytehq/airbyte-internal-issues/issues/8730

Port of #38240 for MongoDB

We did some local tests by building a dev image and testing against our mongo atlas saas instance.

@theyueli theyueli self-assigned this Jul 26, 2024
@theyueli theyueli requested a review from a team as a code owner July 26, 2024 09:58
Copy link

vercel bot commented Jul 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Aug 3, 2024 10:34am

@theyueli theyueli requested a review from rodireich July 26, 2024 10:04
@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Jul 26, 2024
"default": 8,
"min": 4,
"max": 24,
"order": 10,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think order should be 12 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed, now changed to 13, and append to the end...I think I now why... I didn't want to use the 13 number initially..

@@ -8,7 +8,7 @@ data:
connectorSubtype: database
connectorType: source
definitionId: b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e
dockerImageTag: 1.4.3
dockerImageTag: 1.4.4
Copy link
Contributor

Choose a reason for hiding this comment

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

We should do a minor version increase here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, fixed.

Collections.singletonList(AutoCloseableIterators.lazyIterator(incrementalIteratorSupplier, null)),
Collections.singletonList(initialSnapshotIterator),
cdcStreamsCompleteStatusEmitters,
List.of(new TransientErrorTraceEmitterIterator(
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's remove the transient error trace emitters.

Context : #42421

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i see, removed.

cdcStreamsCompleteStatusEmitters).flatMap(Collection::stream).collect(Collectors.toList()),
AirbyteTraceMessageUtility::emitStreamStatusTrace));
} else if (initialSnapshotIterators.isEmpty()) {
LOGGER.info("Initial load has finished completely - only reading the binlog");
Copy link
Contributor

Choose a reason for hiding this comment

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

nit : oplog here and below

Copy link
Contributor Author

@theyueli theyueli Jul 26, 2024

Choose a reason for hiding this comment

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

good catch, fixed!

@theyueli theyueli requested a review from a team as a code owner July 28, 2024 09:21
@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Jul 28, 2024
@octavia-squidington-iii octavia-squidington-iii removed the CDK Connector Development Kit label Jul 29, 2024
@theyueli theyueli merged commit 8f42de9 into master Aug 5, 2024
34 checks passed
@theyueli theyueli deleted the yue/mongowass branch August 5, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/mongodb-v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants