-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contacts: fix incorrect profile timestamp after migration
During %0 to %1 migration, empty profiles have been wrongly migrated with bunted timestamp, causing the subscribers to crash on resubscription due to a failing assert. We fix this by introducing several changes: - bump the state number to %2 - initalize the profile with correct now.bowl timestamp in +on-init - deploy migration to fix affected profiles - re-enable the assertion prohibiting subscriptions to a future-dated profile Additionally, the +subs:pub arm is amended to never generate an empty path list for a fact.
- Loading branch information
Showing
1 changed file
with
74 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters