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

[processor/tailsampling] Decision cache Put() should return ok bool #37300

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

portertech
Copy link
Contributor

This pull-request changes the decision cache interface, updating Put() to return an ok bool. The bool indicates if the cache put action was successful or done at all (e.g. nop). This is particularly useful when interacting with the nop cache, no longer need to follow a put w/ a get etc. This is also handy when implementing a cache that makes network calls, e.g. memcache.

Related to #37035

Signed-off-by: Sean Porter <portertech@gmail.com>
@github-actions github-actions bot added the processor/tailsampling Tail sampling processor label Jan 17, 2025
@github-actions github-actions bot requested a review from jpkrohling January 17, 2025 21:24
Copy link
Contributor

github-actions bot commented Feb 1, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Feb 1, 2025
@jpkrohling jpkrohling added Skip Changelog PRs that do not require a CHANGELOG.md entry and removed Stale labels Feb 8, 2025
@jpkrohling
Copy link
Member

Given that this is an internal change and doesn't affect the behavior or interface with users of the component, changelog can be skipped for this.

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Feb 23, 2025
@atoulme
Copy link
Contributor

atoulme commented Mar 7, 2025

Please rebase and mark ready for review if you want.

@github-actions github-actions bot removed the Stale label Mar 7, 2025
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/tailsampling Tail sampling processor Skip Changelog PRs that do not require a CHANGELOG.md entry Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants