-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recovery after domain restart #481
Labels
enhancement
New feature or request
Comments
bstasyszyn
added a commit
to bstasyszyn/orb
that referenced
this issue
Dec 3, 2021
Registered a task with the Task Manager that periodically queries the outbox of the services that the domain is following and processes any missing anchor events from "Create" and "Announce" activities. When a new domain is on-boarded, it starts following other domains (ActivityPub services). The synchronization task should then start from the beginning of the outboxes of these domains and process all anchor events (from "Create" and "Announce" activities). Also, if all instances of a domain should go down for a period of time then "Create" and "Announce" activities may be missed. As soon as the domain comes back online the task will start synchronizing from where it last left off in order to process the missing anchor events. closes trustbloc#481 Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
bstasyszyn
added a commit
to bstasyszyn/orb
that referenced
this issue
Dec 3, 2021
Registered a task with the Task Manager that periodically queries the outbox of the services that the domain is following and processes any missing anchor events from "Create" and "Announce" activities. When a new domain is on-boarded, it starts following other domains (ActivityPub services). The synchronization task should then start from the beginning of the outboxes of these domains and process all anchor events (from "Create" and "Announce" activities). Also, if all instances of a domain should go down for a period of time then "Create" and "Announce" activities may be missed. As soon as the domain comes back online the task will start synchronizing from where it last left off in order to process the missing anchor events. closes trustbloc#481 Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
bstasyszyn
added a commit
to bstasyszyn/orb
that referenced
this issue
Dec 3, 2021
Registered a task with the Task Manager that periodically queries the outbox of the services that the domain is following and processes any missing anchor events from "Create" and "Announce" activities. When a new domain is on-boarded, it starts following other domains (ActivityPub services). The synchronization task should then start from the beginning of the outboxes of these domains and process all anchor events (from "Create" and "Announce" activities). Also, if all instances of a domain should go down for a period of time then "Create" and "Announce" activities may be missed. As soon as the domain comes back online the task will start synchronizing from where it last left off in order to process the missing anchor events. closes trustbloc#481 Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When all servers in a domain go down then anchor credential announcements may have been missed. On startup, do we need to scan the outbox of the domains we are following and processing the anchors that were missed?
The text was updated successfully, but these errors were encountered: