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

Add pagination support to events based cache #4826

Merged
merged 5 commits into from
Jan 30, 2024

Conversation

faisal-memon
Copy link
Contributor

@faisal-memon faisal-memon commented Jan 23, 2024

Pull Request check list

  • Commit conforms to CONTRIBUTING.md?
  • Proper tests/regressions included?
  • Documentation updated?

Affected functionality

Events based cache

Description of change

The events based cache lists all entries on start up. This change paginates that initial list entries request.

Marking as draft until I have some unit tests for it.

Which issue this PR fixes

fixes #4735

Copy link
Member

@azdagron azdagron left a comment

Choose a reason for hiding this comment

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

Thanks @faisal-memon! Looks good. Paging behavior should probably be covered by a unit test before we merge.

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
@faisal-memon faisal-memon marked this pull request as ready for review January 28, 2024 09:03
@faisal-memon
Copy link
Contributor Author

Thanks @faisal-memon! Looks good. Paging behavior should probably be covered by a unit test before we merge.

@azdagron Thanks for reviewing. Added the unit tests and moved this out of draft.

@azdagron azdagron self-assigned this Jan 30, 2024
@azdagron azdagron added this to the 1.9.0 milestone Jan 30, 2024
@rturner3 rturner3 merged commit 3473234 into spiffe:main Jan 30, 2024
32 checks passed
faisal-memon added a commit to faisal-memon/spire that referenced this pull request Feb 7, 2024
* Add pagination support to events based cache

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
sriyer pushed a commit to spire-vault/spire that referenced this pull request Feb 23, 2024
* Add pagination support to events based cache

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
rushi47 pushed a commit to rushi47/spire that referenced this pull request Apr 11, 2024
* Add pagination support to events based cache

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
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.

Event-Based Cache Hydration should Paginate on StartUp
3 participants