Skip to content

Conversation

@singhpk234
Copy link
Contributor

About the change

As part of implementing SupportsAdmissionControl we now implement Offset latestOffset(Offset startOffset, ReadLimit limit); it faces the same problem as here #6480 , this change now throws an IllegalStateException instead of NPE and the ci for rate-limit pr had not run been rebased and re-run this couldn't be caught.

This pr attempts to fix the issue by having the similar handling.

Testing

failing ut's pass now

cc @jackye1995

@jackye1995
Copy link
Contributor

Thanks for the quick fix! Will merge asap after CI passes to unblock other people

@jackye1995 jackye1995 merged commit bdcc55b into apache:master Apr 23, 2023
manisin pushed a commit to Snowflake-Labs/iceberg that referenced this pull request May 9, 2023
Co-authored-by: Prashant Singh <psinghvk@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants