Skip to content

fix(34): count correctly rollbacked documents - #40

Merged
LucVidal360 merged 6 commits into
mainfrom
main-34-fix
Jul 27, 2026
Merged

LucVidal360 merged 6 commits into
mainfrom
main-34-fix

Conversation

@LucVidal360

@LucVidal360 LucVidal360 commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Context

Since #38, the rollback progress is stuck at 0%

This is because we count the number of documents from the bulk size after executing it.
But executing the bulk reset its size to 0!

Changes

Increment the number of rollbacked document before executing the current bulk.

@LucVidal360 LucVidal360 self-assigned this Jul 24, 2026

@orca-security-eu orca-security-eu Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@LucVidal360
LucVidal360 marked this pull request as ready for review July 24, 2026 08:12
@LucVidal360
LucVidal360 requested a review from pp0rtal as a code owner July 24, 2026 08:12
Comment thread src/MongoBulkDataMigration.ts
@LucVidal360
LucVidal360 merged commit fa6d224 into main Jul 27, 2026
8 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.

4 participants