Skip to content

[Sanction] Introduce a N_BLOCK_SANCTION #381

Description

@Olshansk

Objective

enum ShannonSanctionType {
  SHANNON_SANCTION_UNSPECIFIED = 0;
  SHANNON_SANCTION_SESSION = 1;  // Valid only for current session
  SHANNON_SANCTION_PERMANENT = 2; // Sanction persists indefinitely; can only be cleared by Gateway restart (e.g., redeploying the K8s pod or restarting the binary)
  SHANNON_SANCTION_DO_NOT_SANCTION = 3; // Do not sanction the endpoint based on this error
+ N_BLOCK_SANCTION ...
+ M_MINUTE_SANCTION ...
}

Origin Document

Image

Goals

  • Enable temporarily sanction bad supplier
  • Avoid losing suppliers from a session that were sanctioned for a short period of time
  • ...

Deliverables

  • Update ShannonSanctionType w/ block sanctioning
  • Evaluate if ShannonSanctionType should be updated with minute sanctioning
  • Implement the sanctioning solution above (need to evalute when this should be used)
  • Update the grafana dashboards to get visibility into:
    • Which suppliers are temporarily sanctioned
    • Why suppliers are temporarily sanctioned

Creator: @Olshansk
Co-Owners: @adshmh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

qosIntended to improve quality of service

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions