Skip to content
Snippets Groups Projects
  • Jorrit Schaap's avatar
    cbd83d46
    Task #10902: refactored many selects on resource_usage into method... · cbd83d46
    Jorrit Schaap authored
    Task #10902: refactored many selects on resource_usage into method get_resource_usage_at_or_before. Added logging when we detect that a usage_at_start is not found, then the usages table is rebuild for that resource, and then we search again for usage_at_start. Only if not found again, raise exception. This fixes the test for the bug found on production. Still to do: performance increase for rebuild usage table.
    cbd83d46
    History
    Task #10902: refactored many selects on resource_usage into method...
    Jorrit Schaap authored
    Task #10902: refactored many selects on resource_usage into method get_resource_usage_at_or_before. Added logging when we detect that a usage_at_start is not found, then the usages table is rebuild for that resource, and then we search again for usage_at_start. Only if not found again, raise exception. This fixes the test for the bug found on production. Still to do: performance increase for rebuild usage table.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.