Skip to content

Nondeterministic image deletion by image number #8071

@sergei-grechanik

Description

@sergei-grechanik

When two images with the same image number are uploaded, and then deleted by image number, it's not always the last one that gets deleted.

To reproduce, run the following script several times:
kitty-image-number-nondeterminism.sh.txt
This script uloads two images with the same I, then deletes an image by I, and then creates another placement using the same I.

Currently kitty usually deletes the first image instead of the last one (but the choice seems to be nondeterministic):
image

The expected behavior:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions