Skip to content

[adapters] Delta transaction_mode:snapshot regression.#6417

Merged
gz merged 1 commit into
mainfrom
delta_snapshot_regression
Jun 6, 2026
Merged

[adapters] Delta transaction_mode:snapshot regression.#6417
gz merged 1 commit into
mainfrom
delta_snapshot_regression

Conversation

@ryzhyk

@ryzhyk ryzhyk commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

When introducing catchup mode, I accidentally made a change that broke the snapshot mode, specifically, the connector didn't start a transaction to ingest a snapshot, as expected.

The commit fixes, the bug, adds a test that would have caught it and also fixes the implementation of the number-of-snapshot-transactions metric, which was introduced in the catchup PR.

Describe Manual Test Plan

Tested on the medalion demo.

Checklist

  • Unit tests added/updated
  • Integration tests added/updated
  • Documentation updated
  • Changelog updated

Breaking Changes?

Mark if you think the answer is yes for any of these components:

Describe Incompatible Changes

When introducing catchup mode, I accidentally made a change that broke the
`snapshot` mode, specifically, the connector didn't start a transaction to
ingest a snapshot, as expected.

The commit fixes, the bug, adds a test that would have caught it and also fixes
the implementation of the number-of-snapshot-transactions metric, which was
introduced in the catchup PR.

Signed-off-by: Leonid Ryzhyk <ryzhyk@gmail.com>
@ryzhyk ryzhyk requested a review from anandbraman June 6, 2026 01:09
@ryzhyk ryzhyk added the connectors Issues related to the adapters/connectors crate label Jun 6, 2026
}

/// Record that a `snapshot-*` Feldera transaction was actually started, i.e., its label was
/// propagated to a queue entry (and thence to the controller). Counted here rather than where

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thence

@ryzhyk ryzhyk added this pull request to the merge queue Jun 6, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 6, 2026
@gz gz added this pull request to the merge queue Jun 6, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 6, 2026
@gz gz added this pull request to the merge queue Jun 6, 2026
Merged via the queue into main with commit aa17ffc Jun 6, 2026
1 check passed
@gz gz deleted the delta_snapshot_regression branch June 6, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connectors Issues related to the adapters/connectors crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants