Open CAEL0 opened 2 months ago
Thanks, @CAEL0 ! Due to the way this feature works, true or false does not matter if the source and target are unsharded as there's no optimization to make. So while this doesn't have a practical impact, obviously this return value is wrong and we should fix it. 🙂
Overview of the Issue
In go/vt/wrangler/materializer.go and go/vt/vtctl/workflow/materializer.go, the function
primaryVindexesDiffer
returnstrue
if neither source nor target have any vindexes.But it should return
false
as written in the comment.Reproduction Steps
N/A
Binary Version
N/A
Operating System and Environment details
N/A
Log Fragments
No response