fix: avoid seq scan when updating member identities#3817
Conversation
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
2 similar comments
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
updateIdentities to ignore soft-deleted member identities|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
Note
Low Risk
Small SQL predicate change scoped to a single bulk update; main risk is unintentionally not updating rows that were expected to be restored from soft-delete.
Overview
MemberRepository.updateIdentitiesnow filters its bulk UPDATE to only affectmemberIdentitiesrows wheredeletedAtis null, preventing soft-deleted identities from being re-verified/modified during identity updates.Written by Cursor Bugbot for commit aa61e3c. This will update automatically on new commits. Configure here.