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

[Bug]: badger as sampling store not work #4963

Closed
saletnik opened this issue Nov 24, 2023 · 3 comments · Fixed by #4966
Closed

[Bug]: badger as sampling store not work #4963

saletnik opened this issue Nov 24, 2023 · 3 comments · Fixed by #4966
Labels

Comments

@saletnik
Copy link

What happened?

Error starting "storage factory of type badger does not support sampling store"

badger storage not implement SamplingStoreFactory interface -> no method CreateLock

Steps to reproduce

docker run --rm --env SAMPLING_STORAGE_TYPE=badger --env SAMPLING_CONFIG_TYPE=adaptive jaegertracing/all-in-one:1.51.0

Expected behavior

work with badger as sampling store

Relevant log output

No response

Screenshot

No response

Additional context

No response

Jaeger backend version

v1.51.0

SDK

No response

Pipeline

No response

Stogage backend

badger

Operating system

Linux

Deployment model

Docker

Deployment configs

No response

@saletnik saletnik added the bug label Nov 24, 2023
@yurishkuro
Copy link
Member

Should've been solved by #4834 -- cc @slayer321

@slayer321
Copy link
Contributor

@saletnik Implemented CreateLock method, earlier while working on the #4834 I totally missed Implementing that , I think as there was not lock required for badgerdb that was the reason I missed it.

@yurishkuro I have create a new PR with the changes PTAL

yurishkuro added a commit that referenced this issue Nov 26, 2023
## Which problem is this PR solving?
- Part of #4963
- Follow up to #4834

## Description of the changes
- Explicitly declare all interfaces each factory implements
- Move these declarations to the main file for visibility

## How was this change tested?
- CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
@saletnik
Copy link
Author

now it is working
Thank you

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 a pull request may close this issue.

3 participants