Skip to content

fix auto-delete stopped sandbox ordering#1243

Open
zhangjaycee wants to merge 1 commit into
alibaba:masterfrom
zhangjaycee:fix/auto_delete
Open

fix auto-delete stopped sandbox ordering#1243
zhangjaycee wants to merge 1 commit into
alibaba:masterfrom
zhangjaycee:fix/auto_delete

Conversation

@zhangjaycee

Copy link
Copy Markdown
Collaborator

close #1242

…p_time order

- _auto_delete_stopped: switch from list_by_in([STOPPED, ARCHIVED]) to list_by(STOPPED)
- sandbox_table: fix order_by direction desc→asc so oldest sandboxes are deleted first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] auto_delete scans newest stopped sandboxes first and can miss expired stopped sandboxes

1 participant