magento / magento/data-migration-tool

Delta Migration failing if a destination table has 0 entries

Open
#843 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

# Summary (*)
I am running delta migration. I had to truncate a table in M2, so now I get: **Mismatch of entities in the document: catalog_product_entity Source: 6031 Destination: 0**

How can I repair that?

### Examples (*)

-

### Proposed solution

-

---
Please provide [Severity](https://devdocs.magento.com/guides/v2.3/contributor-guide/contributing.html#backlog) assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

- [ ] Severity: **S0** _- Affects critical data or functionality and leaves users with no workaround._
- [x] Severity: **S1** _- Affects critical data or functionality and forces users to employ a workaround._
- [ ] Severity: **S2** _- Affects non-critical data or functionality and forces users to employ a workaround._
- [ ] Severity: **S3** _- Affects non-critical data or functionality and does not force users to employ a workaround._
- [ ] Severity: **S4** _- Affects aesthetics, professional look and feel, “quality” or “usability”._

Contributor guide

Open the contributing guide

Research direction

The issue names delta migration and the catalog_product_entity table but no source files or tests. Start by reproducing the mismatch after truncating the destination table and trace how entity counts are validated. Done means the intended repair behavior is established and covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.