Skip to content

[Bug] Avoid losing worker slot on error while processing cache eviction #784

Closed
@dandavison

Description

@dandavison

Improve the situation described here:

except Exception as err:
# We cannot fail a cache eviction, we must just log and not complete
# the activation (failed or otherwise). This should only happen in
# cases of deadlock or tasks not properly completing, and yes this
# means that a slot is forever taken.
# TODO(cretz): Should we build a complex mechanism to continually
# try the eviction until it succeeds?
if cache_remove_job:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions