In certain cases, pt-table-sync --replication --sync-to-master throws,
"Index PRIMARY does not exist in table at t-table-sync line 9116. while doing ..."
but the PRIMARY key _does_ exist. Internally, the tbl_struct from the previous table is still being used which doesn't have a PK. Somehow the var isn't being updated from table to table.
In certain cases, pt-table-sync --replication --sync-to-master throws,
"Index PRIMARY does not exist in table at t-table-sync line 9116. while doing ..."
but the PRIMARY key _does_ exist. Internally, the tbl_struct from the previous table is still being used which doesn't have a PK. Somehow the var isn't being updated from table to table.