Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch db updates in Accumulator.Accumulate #196

Closed
wants to merge 12 commits into from

Commits on Jul 12, 2023

  1. Add a generic version of chunkify

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    951b22a View commit details
    Browse the repository at this point in the history
  2. Test to reproduce the slowness

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    8de2e66 View commit details
    Browse the repository at this point in the history
  3. go get sqlx

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    ca9f24c View commit details
    Browse the repository at this point in the history
  4. Allow batch updates of snapshotIDs in events table

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    be187c2 View commit details
    Browse the repository at this point in the history
  5. Drive-by comment

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    7839388 View commit details
    Browse the repository at this point in the history
  6. Add a mechanism to reserve snapshot IDs

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    bb284cd View commit details
    Browse the repository at this point in the history
  7. Add function for batch inserting snapshots

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    8f22835 View commit details
    Browse the repository at this point in the history
  8. Batch up accumulator inserts and updates

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    d630593 View commit details
    Browse the repository at this point in the history
  9. Ensure NID slices are never nil

    Otherwise we have to get the storage functions to convert this to a
    nonnil slice before we insert in the DB.
    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    a26171d View commit details
    Browse the repository at this point in the history
  10. Prevent error if there are no new events

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    43a01c7 View commit details
    Browse the repository at this point in the history
  11. Additional testing

    David Robertson committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    e5ee4ef View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Improve logging for the prependStateEvents message

    David Robertson committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    8c73667 View commit details
    Browse the repository at this point in the history