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

Auditlog: Overlapping partitions error lead to container crash #169

Closed
acn-dgopa opened this issue Dec 6, 2024 · 0 comments · Fixed by #168 or #170
Closed

Auditlog: Overlapping partitions error lead to container crash #169

acn-dgopa opened this issue Dec 6, 2024 · 0 comments · Fixed by #168 or #170
Assignees

Comments

@acn-dgopa
Copy link
Member

Reproduksjonssteg og Generell Info

A background service in auditlog creates paritions for the eventlog table in auditlog. The date ranges however were not based on 1st of every month to end date of every month. Currently we just create a partition from the current date to the same date next month. This creates confusion on the partition name and the date range stored in the partition. To resolve this, we need to create partitions that will be created with date range as 1st of the month to the last date of the month.
Also with the existing implementation, we experience date range overlapping.

Forventet oppførsel

  1. Partitions are created without overlapping error.
  2. Partition date range is from 1st to end date of that month
  3. Container app is healthy

Faktisk oppførsel

No response

Logger og/eller direkte lenke til Application Insights

Testmiljø

No response

@acn-dgopa acn-dgopa linked a pull request Dec 6, 2024 that will close this issue
5 tasks
@acn-dgopa acn-dgopa transferred this issue from Altinn/altinn-authentication Dec 6, 2024
@github-project-automation github-project-automation bot moved this from 👷In Progress to ✅ Done in Team Tilgangsinfo Dec 6, 2024
@acn-dgopa acn-dgopa moved this from ✅ Done to 👷In Progress in Team Tilgangsinfo Dec 9, 2024
@acn-dgopa acn-dgopa linked a pull request Dec 9, 2024 that will close this issue
5 tasks
@acn-dgopa acn-dgopa reopened this Dec 16, 2024
@acn-dgopa acn-dgopa moved this from 👷In Progress to 🧪Test in Team Tilgangsinfo Dec 16, 2024
@annerisbakk annerisbakk moved this from 🧪Test to ✅ Done in Team Tilgangsinfo Jan 9, 2025
@annerisbakk annerisbakk moved this from ✅ Done to ✅✅Closed in Team Tilgangsinfo Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅✅Closed
3 participants