mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-13 03:08:40 -04:00
4829616ec5
# Description of Changes Based on #3887 . Review starting from commit 233b48cc4. We've encountered a commitlog which includes inserts into `st_table`, `st_column`, &c of the rows which describe `st_view`, `st_view_param`, &c. This caused replay to fail, as those rows were already inserted during bootstrapping, so we got set-semantic duplicate errors. With this commit, we ignore set-semantic duplicate errors when replaying a commitlog specifically for rows in system tables which describe system tables. We also have to do an additional fixup for sequences. This is described in-depth in comments added at the relevant locations. # API and ABI breaking changes N/a # Expected complexity level and risk 1 - I was careful not to swallow any errors which aren't obviously safe. # Testing - [x] Manually replayed commitlog which includes the above mentioned inserts, got error prior to this commit, no error with this commit.
⚠️ Unstable Crate ⚠️
The interface of this crate is not stable and may change without notice.