mozilla-services / syncstorage-rs

Sync Storage server in Rust
Mozilla Public License 2.0
1.01k stars 49 forks source link

Increase max_total_records per new Spanner mutation limit #1414

Open data-sync-user opened 2 years ago

data-sync-user commented 2 years ago

Spanner’s doubled its mutation limit from 20k to 40k:

https://cloud.google.com/spanner/docs/release-notes#September_27_2022

https://cloud.google.com/blog/products/databases/cloud-spanner-doubles-the-number-of-updates-per-transaction

This allows us to increase the max_total_records setting for batch uploads. We should take advantage of this as it will reduce the number of requests needed by clients to make larger writes. This involves:

┆Issue is synchronized with this Jira Task

pjenvey commented 1 year ago

Reopened as data-sync-used seems to have closed this by mistake