Skip to content

TDR's enumerateSnapshot response isn't sorted by default #61

Open
@hannes-ucsc

Description

@hannes-ucsc

To reproduce, visit https://data.terra.bio/swagger-ui.html#/snapshots/enumerateSnapshots, authorize, specify 200 for offset and limit and hit execute a few times. Observe the id of the first returned item.

Expected: Since the paging parameters are accepted, TDR should apply a deterministic ordering of the results and the first item on the page should remain the same no matter how may times one issues the request until a snapshot is added or removed.

Actual: The id of the first item on the requested page fluctuates back and forth between different values. This could be explained by constant additions and removals of snapshots but it seems highly unlikely to occur every few seconds. Note the UUIDs starting in 64 and b1 at the bottom of each screenshot.

image

image

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions