Skip to content
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

Aggregation resilience #343

Open
basmasking opened this issue Oct 15, 2024 · 1 comment · May be fixed by #345
Open

Aggregation resilience #343

basmasking opened this issue Oct 15, 2024 · 1 comment · May be fixed by #345
Assignees
Labels
domain All issues related to the business domain feature New feature or request

Comments

@basmasking
Copy link
Member

basmasking commented Oct 15, 2024

For all aggregates, the data loading now relies on the correctness of the data in the database. This leads to an application error when an item cannot get retrieved.

To make the application more resilient, we want to change the strategy of the aggregates to always return an array of results, regardless of a single item failing in the list. If an item fails, the error must be logged and the item skipped from the list.

@basmasking basmasking added feature New feature or request domain All issues related to the business domain labels Oct 15, 2024
@johnmasking johnmasking self-assigned this Oct 25, 2024
@johnmasking
Copy link
Member

johnmasking commented Oct 25, 2024

This relates to the following aggregated functions:

  • explore posts
  • get recent notifications
  • get all posts
  • get all posts by creator
  • get all posts by following
  • get all reactions by post

johnmasking added a commit that referenced this issue Oct 28, 2024
@johnmasking johnmasking linked a pull request Oct 28, 2024 that will close this issue
johnmasking added a commit that referenced this issue Nov 4, 2024
johnmasking added a commit that referenced this issue Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain All issues related to the business domain feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants