fix(collection): improve index creation resilience and add collection integrity checks

This commit is contained in:
2026-04-05 02:49:28 +00:00
parent 54fa433d1a
commit abf84359b4
4 changed files with 196 additions and 15 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2026-04-05 - 7.1.4 - fix(collection)
improve index creation resilience and add collection integrity checks
- Handle MongoDB index creation failures with structured logging instead of failing silently or racing on repeated attempts
- Log duplicate field values when unique index creation fails due to existing duplicate data
- Await unique and regular index creation during insert operations to ensure index setup completes predictably
- Add collection integrity checks for estimated vs actual document counts and duplicate values on tracked unique fields
- Expose collection integrity checks through the document class API
## 2026-03-26 - 7.1.3 - fix(deps)
bump development dependencies for tooling and Node types