Skip to content

fix: correct CreateIndexOperator transactional flag and warning message (#5)#10

Merged
dieppa merged 1 commit into
masterfrom
fix/issue_5
Feb 27, 2026
Merged

fix: correct CreateIndexOperator transactional flag and warning message (#5)#10
dieppa merged 1 commit into
masterfrom
fix/issue_5

Conversation

@dieppa

@dieppa dieppa commented Feb 27, 2026

Copy link
Copy Markdown
Member

CreateIndexOperator incorrectly declared transactional=true, but MongoDB
index operations are DDL and do not participate in transactions. Changed
to transactional=false to match all other DDL operators. Also fixed
copy-paste error in warning message ("createCollection" -> "createIndex").

…ge (#5)

CreateIndexOperator incorrectly declared transactional=true, but MongoDB
index operations are DDL and do not participate in transactions. Changed
to transactional=false to match all other DDL operators. Also fixed
copy-paste error in warning message ("createCollection" -> "createIndex").
@dieppa dieppa merged commit d429699 into master Feb 27, 2026
3 of 4 checks passed
@dieppa dieppa deleted the fix/issue_5 branch February 27, 2026 16:20
dieppa added a commit that referenced this pull request Feb 27, 2026
…ge (#5) (#10)

CreateIndexOperator incorrectly declared transactional=true, but MongoDB
index operations are DDL and do not participate in transactions. Changed
to transactional=false to match all other DDL operators. Also fixed
copy-paste error in warning message ("createCollection" -> "createIndex").
dieppa added a commit that referenced this pull request Feb 27, 2026
- #10: Remove duplicate logger in CreateCollectionOperator that shadowed
  the parent's MongoOperator.logger
- #6: Remove redundant session warning blocks from CreateCollectionOperator
  and CreateIndexOperator; all DDL operators now rely on base class logging
- #7: Fix collation mapping for YAML input by adding Map-to-Collation
  conversion in MapperUtil.getCollation() with all 9 builder fields
- #8: Add multi parameter support to DeleteOperator (default false =
  deleteOne, matching MongoDB native default and UpdateOperator pattern)
- #9: Reject unrecognized parameter keys via checkUnrecognizedKeys()
  utility in OperationValidator, applied to all 7 non-NO_OP validators
dieppa added a commit that referenced this pull request Feb 27, 2026
- issue-10: Remove duplicate logger in CreateCollectionOperator that shadowed
  the parent's MongoOperator.logger
- issue-6: Remove redundant session warning blocks from CreateCollectionOperator
  and CreateIndexOperator; all DDL operators now rely on base class logging
- issue-7: Fix collation mapping for YAML input by adding Map-to-Collation
  conversion in MapperUtil.getCollation() with all 9 builder fields
- issue-8: Add multi parameter support to DeleteOperator (default false =
  deleteOne, matching MongoDB native default and UpdateOperator pattern)
- issue-9: Reject unrecognized parameter keys via checkUnrecognizedKeys()
  utility in OperationValidator, applied to all 7 non-NO_OP validators
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