Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π FIX: Import archive into large DB (#5740)
This commit fixes an issue whereby databases with large amounts of nodes, caused the `SQLITE_MAX_VARIABLE_NUMBER` (see sqlite.org/limits.html) to be exceeded, when querying the sqlite archive backend. This occurred when the `!in` filter value of the query was passed many 1000s of node UUIDs, so instead now we invert this query, to use `in`, and batch it into queries with maximum `filter_size` parameters.
- Loading branch information