Skip to content

Conversation

@jnation3406
Copy link
Member

Science Support found a bug in the current science archive client - offset queries were broken due to this shortcircuit in the base code. This patch basically ignores the shortcircuit and still attempts to return results when the count is estimated and offset is used.

Long term I would like to move the science archive client to using cursor queries when it knows the count will be estimated, but as long as we allow limitoffset as an option we should err on providing results with an offset even when the count is estimated.

Copy link
Contributor

@jashan-lco jashan-lco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find. LGTM.

@jnation3406 jnation3406 merged commit 4ff2ad8 into main Sep 19, 2025
18 checks passed
@jnation3406 jnation3406 deleted the fix/pagination_offset branch September 19, 2025 20:05
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.

3 participants