lightning: check hasDupe and tableID when resolve duplicate rows (#40696)#40793
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/hold |
|
This cherry-pick must be merged with #41488. |
|
/unhold |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: b2aa489223a55e6a139db27640030fc9cb1a741e |
|
/retest |
b2aa489 to
a94398a
Compare
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: a94398a |
This is an automated cherry-pick of #40696
What problem does this PR solve?
Issue Number: close #40657
Problem Summary:
ResolveDuplicateRowsmay accidentally delete imported data even if there is no duplicate data is detected. See #40657 (comment).What is changed and how it works?
Add two checks when deleting duplicate data:
ResolveDuplicateRowswhen no duplicate data is detected.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.