Closed (fixed)
Project:
Migrate
Version:
7.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Apr 2012 at 07:04 UTC
Updated:
14 May 2012 at 14:20 UTC
Jump to comment: Most recent file
Not sure if i'm doing something wrong here, but, i've set the status to "2" for all the entries in the migrate_map, and then I only have 1 item marked as 'needs_update' (=1)
./includes/map.inc: const STATUS_IMPORTED = 0;
./includes/map.inc: const STATUS_NEEDS_UPDATE = 1;
./includes/map.inc: const STATUS_IGNORED = 2;
./includes/map.inc: const STATUS_FAILED = 3;
what the table looks like
mysql> select count(*), needs_update from migrate_map_articlexml group by needs_update;
+----------+--------------+
| count(*) | needs_update |
+----------+--------------+
| 1 | 0 |
| 6000 | 2 |
+----------+--------------+
2 rows in set (0.01 sec)however it seems to try to update all the 6001 entries, if i restrict it to just 5, after i click submit i get the follow (5995 are now set to needs_update =1 (needs update))
mysql> select count(*), needs_update from migrate_map_articlexml group by needs_update;
+----------+--------------+
| count(*) | needs_update |
+----------+--------------+
| 5 | 0 |
| 5995 | 1 |
| 1 | 2 |
+----------+--------------+
3 rows in set (0.01 sec)
I am clicking the "[ ] Update" checkbox and entering '5' in the limit box
ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | migrate-ignored_rerun-1529362-2.patch | 543 bytes | mikeryan |
Comments
Comment #1
dgtlmoon commentedSorry, first is set to "needs update" = 1
but i'm still seeing the same problem
Comment #2
mikeryanDoes the attached patch work for you (prevent the ignored rows from being rerun)?
Thanks.
Comment #3
mikeryanCommitted to D6 and D7.
Comment #4
mikeryanOops! See #1538046: Row highwater field is checked unprepared - sourceid1 actually isn't populated in the row, so this patch continues to cause excessive rerunning.
Comment #5
mikeryanOK, I've changed things to make sure the sourceids get put into the map row, and also fixed a highwater logic bug that was exposed by the first change.