Atomic read+delete prevents replicas that flush between a separate read and reset from having their data deleted before the next snapshot. Uses a common table expression with DELETE...RETURNING so the rows we sum are exactly the rows we delete. Stale rows are excluded from the sum but still deleted.
(ctx context.Context, maxStalenessMs int64)
| 313 | // table expression with DELETE...RETURNING so the rows we sum are exactly the |
| 314 | // rows we delete. Stale rows are excluded from the sum but still deleted. |
| 315 | GetAndResetBoundaryUsageSummary(ctx context.Context, maxStalenessMs int64) (GetAndResetBoundaryUsageSummaryRow, error) |
| 316 | GetAnnouncementBanners(ctx context.Context) (string, error) |
| 317 | GetApplicationName(ctx context.Context) (string, error) |
| 318 | // GetAuditLogsBefore retrieves `row_limit` number of audit logs before the provided |
no outgoing calls