Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backfill): chunk up writes to DB (#19699)
## Description When a given range of transactions generated too many affected object IDs, the backfill script would stop, because of limits in postgres' protocol over the wire. By chunking up the writes into batches of 1000, we avoid hitting this limit. ## Test plan Running this backfill against the DBs now -- and it is not crashing. --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
- Loading branch information