Skip to content

Fix stale cached PreparedStatements and duplicate batch inserts#68

Merged
HanzhouTang merged 1 commit into
amazon-contributing:dsqlfrom
HanzhouTang:dsql
Nov 17, 2025
Merged

Fix stale cached PreparedStatements and duplicate batch inserts#68
HanzhouTang merged 1 commit into
amazon-contributing:dsqlfrom
HanzhouTang:dsql

Conversation

@HanzhouTang
Copy link
Copy Markdown
Collaborator

  • Clear statement cache when refreshing connections
  • Remove auto-flush from BatchProcessor to make retry idempotent

Issue #, if available:

We noticed the TPCC loader may keep retrying with a stale prepared statement.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Clear statement cache when refreshing connections
- Remove auto-flush from BatchProcessor to make retry idempotent
@HanzhouTang HanzhouTang merged commit bfde3ee into amazon-contributing:dsql Nov 17, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant