Skip to content

fix: add idempotency pre-checks for 4 DDL operators#17

Merged
dieppa merged 1 commit into
masterfrom
fix/analysis_5_2
Mar 2, 2026
Merged

fix: add idempotency pre-checks for 4 DDL operators#17
dieppa merged 1 commit into
masterfrom
fix/analysis_5_2

Conversation

@dieppa

@dieppa dieppa commented Mar 2, 2026

Copy link
Copy Markdown
Member

Non-transactional DDL operators (createCollection, dropIndex,
createView, renameCollection) now check MongoDB state before executing,
making multi-step changes retry-safe. A new DatabaseInspector utility
provides collection and index existence checks. 12 new integration
tests cover idempotent skip paths and genuine conflict scenarios.
ANALYSIS.md updated to reflect 9/11 operations now idempotent.

Non-transactional DDL operators (createCollection, dropIndex,
createView, renameCollection) now check MongoDB state before executing,
making multi-step changes retry-safe. A new DatabaseInspector utility
provides collection and index existence checks. 12 new integration
tests cover idempotent skip paths and genuine conflict scenarios.
ANALYSIS.md updated to reflect 9/11 operations now idempotent.
@dieppa dieppa merged commit e1c550c into master Mar 2, 2026
3 of 4 checks passed
@dieppa dieppa deleted the fix/analysis_5_2 branch March 3, 2026 18:14
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