Skip to content

Conversation

@spamhurts
Copy link
Collaborator

Rationale

The importRows code path is failing with duplicate EventId errors. This code path was introduced to speed up the code when the SND data is initially loaded on the server. Unfortunately, a recent change to reduce the MAX_MERGE_ROWS has caused this code path to be taken in other situations.

We need to ensure the importRows code path is only triggered by the initial data load.

Changes

Updated mergeRows in EventDataTable and AttributeDataTable.

  1. Want to ensure the importRows code path is only triggered by the initial data load
  2. Changed criteria to look at the number of events instead of the number of eventData or AttributeData rows

1. Want to ensure the importRows code path is only triggered by the initial data load
2. Changed criteria to look at the number of events instead of the number of eventData or AttributeData rows
@RameshRapa RameshRapa self-requested a review February 20, 2025 22:16
@spamhurts spamhurts merged commit 1aaa75f into release24.11-SNAPSHOT Feb 24, 2025
6 checks passed
@spamhurts spamhurts deleted the 24.11_fb_optimize_imports branch February 24, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants