Conflict resolution code uses constraint name instead of index name
aafemt opened this issue · 5 comments
aafemt commented
If these names are different debug build consistently throw assertion error during execution of test_blob_not_found_in_rw_replica_if_target_row_exists.py.
hvlad commented
Where do you see uninitialized variables ?
aafemt commented
Oops, my bad, sorry. I looked at wrong MET_lookup_index_name()
overload.
hvlad commented
The issue makes no real problem: if code can't find index - it works as before #8042.
The only visible problem is assertions in DEBUG build.
Anyway, I'll look how to better handle the case when index and constraint names are not the same.
hvlad commented
Read the code and stop speculate: