Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hannes-ucsc opened this issue Mar 23, 2022 · 0 comments
Open

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

hannes-ucsc opened this issue Mar 23, 2022 · 0 comments

Comments

@hannes-ucsc
Copy link
Collaborator

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

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

No branches or pull requests

1 participant