You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While switching primary write traffic, for sharded keyspaces, if require, we update the sequence backing table with the largest value found for existing data, after stopping writes.
Currently we do multiple tabletmanager calls, one set each per table to
get the current max auto-increment value from the data tables.
create sequence tables, if required.
update the sequence in the backing tables. We always call the update regardless of whether the sequence needs to be updated or not.
Depending on the number of tables and shards this can take very long since there can be several thousands of queries / rpc calls. This can cause timeouts preventing the workflow from switching traffic.
Even if the process is successful, since these are happening after we stop writes, it increases the downtime while switching traffic.
Feature Description
While switching primary write traffic, for sharded keyspaces, if require, we update the sequence backing table with the largest value found for existing data, after stopping writes.
Currently we do multiple tabletmanager calls, one set each per table to
Depending on the number of tables and shards this can take very long since there can be several thousands of queries / rpc calls. This can cause timeouts preventing the workflow from switching traffic.
Even if the process is successful, since these are happening after we stop writes, it increases the downtime while switching traffic.
We should try and minimise this by
The text was updated successfully, but these errors were encountered: